Borderou de evaluare (job #2836592)
| Utilizator | Data | 20 ianuarie 2022 17:18:37 | |
|---|---|---|---|
| Problema | Maximum 0ccurrences | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
1 | #import<fstream>
| ^~~~~~
main.cpp:2:68: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | std::ifstream a("occurences.in");std::ofstream b("occurences.out");main(){int n,t;a>>t;while(t--){a>>n;b<<(n<=2?n:4)<<'\n';}}
| ^~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 40ms | 434kb | OK | 50 |
| 2 | 21ms | 401kb | OK | 50 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
