Pagini recente » Borderou de evaluare (job #1972764) | Borderou de evaluare (job #2734733) | Borderou de evaluare (job #2646208) | Borderou de evaluare (job #2973492) | Borderou de evaluare (job #2634970)
Borderou de evaluare (job #2634970)
Raport evaluator
Compilare:
main.cpp: In function 'long long int query(int, int)':
main.cpp:185:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (st == 0) st = 1; if (dr == n + 1) dr = n;
^~
main.cpp:185:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (st == 0) st = 1; if (dr == n + 1) dr = n;
^~
main.cpp: In function 'int main()':
main.cpp:211:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vaporeon.in", "r", stdin);
^
main.cpp:212:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vaporeon.out", "w", stdout);
^
main.cpp:214:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:216:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
main.cpp:233:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &i);
^
main.cpp:255:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 5ms | 131kb | Killed by Signal 11 | 0 |
3 | 1501ms | 1310kb | Time limit exceeded | 0 |
4 | 1501ms | 1224kb | Time limit exceeded | 0 |
5 | 1042ms | 1396kb | Killed by Signal 11 | 0 |
6 | 1500ms | 1310kb | Time limit exceeded | 0 |
7 | 1502ms | 1572kb | Time limit exceeded | 0 |
8 | 1503ms | 2228kb | Time limit exceeded | 0 |
9 | 1500ms | 2097kb | Time limit exceeded | 0 |
10 | 1503ms | 2097kb | Time limit exceeded | 0 |
Punctaj total | 10 |