Pagini recente » Borderou de evaluare (job #1599505) | Borderou de evaluare (job #306961) | Borderou de evaluare (job #142972) | Borderou de evaluare (job #1280213) | Borderou de evaluare (job #2758296)
Borderou de evaluare (job #2758296)
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 | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 4ms | 131kb | Incorect | 0 |
4 | 4ms | 262kb | Incorect | 0 |
5 | 21ms | 786kb | Incorect | 0 |
6 | 39ms | 1310kb | Incorect | 0 |
7 | 51ms | 1966kb | Incorect | 0 |
8 | 1000ms | 3661kb | Time limit exceeded | 0 |
9 | 100ms | 3538kb | Incorect | 0 |
10 | 244ms | 5373kb | Incorect | 0 |
Punctaj total | 0 |