Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #1788719) | Borderou de evaluare (job #2655168) | Borderou de evaluare (job #3020354) | Borderou de evaluare (job #2758298)
Borderou de evaluare (job #2758298)
Raport evaluator
Compilare:
main.cpp: In function 'void queries()':
main.cpp:13:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
void queries(){int n;scanf("%d", &n);for (int i = 1; i <= n; i++) solve(i);}
^
main.cpp: In function 'void setIO(std::__cxx11::string)':
main.cpp:14:119: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
void setIO(string filename){if(fopen((filename + ".in").c_str(), "r")){freopen((filename + ".in").c_str(), "r", stdin);freopen((filename + ".out").c_str(), "w", stdout);}}
^
main.cpp:14:169: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
void setIO(string filename){if(fopen((filename + ".in").c_str(), "r")){freopen((filename + ".in").c_str(), "r", stdin);freopen((filename + ".out").c_str(), "w", stdout);}}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 8ms | 131kb | OK | 10 |
| 4 | 13ms | 262kb | OK | 10 |
| 5 | 745ms | 917kb | OK | 10 |
| 6 | 1000ms | 1310kb | Time limit exceeded | 0 |
| 7 | 1002ms | 1966kb | Time limit exceeded | 0 |
| 8 | 1000ms | 3661kb | Time limit exceeded | 0 |
| 9 | 1003ms | 3444kb | Time limit exceeded | 0 |
| 10 | 1000ms | 5373kb | Time limit exceeded | 0 |
| Punctaj total | 50 |