Pagini recente » Borderou de evaluare (job #1469949) | Borderou de evaluare (job #2380970) | Borderou de evaluare (job #1410648) | Borderou de evaluare (job #2758304)
Borderou de evaluare (job #2758304)
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 | 4ms | 262kb | OK | 10 |
4 | 5ms | 262kb | OK | 10 |
5 | 29ms | 917kb | OK | 10 |
6 | 56ms | 1572kb | OK | 10 |
7 | 75ms | 2228kb | OK | 10 |
8 | 172ms | 4313kb | OK | 10 |
9 | 121ms | 3801kb | OK | 10 |
10 | 340ms | 6537kb | OK | 10 |
Punctaj total | 100 |