Borderou de evaluare (job #2260589)

Utilizator SilviuIIon Silviu SilviuI Data 15 octombrie 2018 10:57:04
Problema Sarac Sau Rege Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:36:60: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] for (int i = 1; i <= m; i++) scanf("%d %d", &aa[i], &bb[i]); ^ main.cpp:36:60: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] main.cpp:21:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.in", "r", stdin); ^ main.cpp:22:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.out", "w", stdout); ^ main.cpp:24:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ main.cpp:31:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for (int i = 1; i <= n; i++) scanf("%d", &rmq[0][i]); ^ main.cpp:36:61: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for (int i = 1; i <= m; i++) scanf("%d %d", &aa[i], &bb[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms131kbIncorect0
27ms131kbIncorect0
3523ms5136kbMemory limit exceeded0
4474ms5136kbMemory limit exceeded0
51003ms1155kbTime limit exceeded0
6205ms1032kbIncorect0
71003ms4689kbTime limit exceeded0
81003ms4694kbTime limit exceeded0
91002ms4694kbTime limit exceeded0
101003ms4694kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?