Pagini recente » Borderou de evaluare (job #2598920) | Borderou de evaluare (job #1829941) | Borderou de evaluare (job #503287) | Borderou de evaluare (job #2861760) | Borderou de evaluare (job #2139261)
Borderou de evaluare (job #2139261)
Raport evaluator
Compilare:
user.cpp: In function ‘void U(short int, short int, short int)’:
user.cpp:20:10: warning: statement has no effect [-Wunused-value]
for(x; x <= n ; x = x + (x & (-x)))
^
user.cpp: In function ‘int Q(short int, short int)’:
user.cpp:27:10: warning: statement has no effect [-Wunused-value]
for(x; x >= 1 ; x = x - (x & (-x)))
^
user.cpp: In function ‘int main()’:
user.cpp:60:43: warning: narrowing conversion of ‘nrq’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
q[st[u]].push_back({a, b, nrq});
^
user.cpp:42:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo.in", "r", stdin);
^
user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo.out", "w", stdout);
^
user.cpp:44:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:51:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd", &a, &b, &c);
^
user.cpp:57:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd", &a, &b);
^
user.cpp:63:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 26116kb | OK | 10 |
2 | 32ms | 26588kb | OK | 10 |
3 | 32ms | 26648kb | OK | 10 |
4 | 144ms | 29192kb | OK | 10 |
5 | 148ms | 29716kb | OK | 10 |
6 | 488ms | Depăşit | Memory limit exceeded. | 0 |
7 | Depăşit | 40688kb | Time limit exceeded. | 0 |
8 | 516ms | Depăşit | Memory limit exceeded. | 0 |
9 | Depăşit | 40088kb | Time limit exceeded. | 0 |
10 | 516ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 50 |