Pagini recente » Borderou de evaluare (job #855519) | Borderou de evaluare (job #401125) | Borderou de evaluare (job #2831587) | Borderou de evaluare (job #631034) | Borderou de evaluare (job #2447140)
Borderou de evaluare (job #2447140)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:55:20: warning: format '%hd' expects argument of type 'short int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%hd", &x);
^
main.cpp:61:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < pos[maxSupport].size(); ++i)
~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:47:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in", "r", stdin);
^
main.cpp:48:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out", "w", stdout);
^
main.cpp:50:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:51:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
main.cpp:55:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 1572kb | Killed by Signal 11 | 0 |
2 | 5ms | 1572kb | Killed by Signal 11 | 0 |
3 | 5ms | 1572kb | Killed by Signal 11 | 0 |
4 | 5ms | 1572kb | Killed by Signal 11 | 0 |
5 | 4ms | 1572kb | Killed by Signal 11 | 0 |
6 | 5ms | 1572kb | Killed by Signal 11 | 0 |
7 | 4ms | 1572kb | Killed by Signal 11 | 0 |
8 | 5ms | 1572kb | Killed by Signal 11 | 0 |
9 | 5ms | 1572kb | Killed by Signal 11 | 0 |
10 | 5ms | 1572kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |