mirror of
https://gitcode.com/Zengtudor/alg2025.git
synced 2025-12-17 12:43:06 +00:00
refactor: 移动并重构P11232.cpp文件
将P11232.cpp从src/8/12目录移动到src/9/27目录 重构文件内容,添加新的功能实现
This commit is contained in:
parent
e8b9924069
commit
eded996d6b
@ -1,3 +0,0 @@
|
|||||||
int main(){
|
|
||||||
|
|
||||||
}
|
|
||||||
26
src/9/27/P11232.cpp
Normal file
26
src/9/27/P11232.cpp
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#include <cstdint>
|
||||||
|
#include <ios>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
using ll = int64_t;
|
||||||
|
|
||||||
|
const ll maxn = 1e5+5;
|
||||||
|
ll T,n,m,L,V,d[maxn],v[maxn],a[maxn];
|
||||||
|
|
||||||
|
static inline void solve(){
|
||||||
|
std::cin>>n>>m>>L>>V;
|
||||||
|
for(ll i=1;i<=n;i++){
|
||||||
|
std::cin>>d[i]>>v[i]>>a[i];
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int main(){
|
||||||
|
std::ios_base::sync_with_stdio(false);
|
||||||
|
std::cin.tie(nullptr);
|
||||||
|
|
||||||
|
std::cin>>T;
|
||||||
|
while(T--){
|
||||||
|
solve();
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user