Borderou de evaluare (job #2344111)

Utilizator Anastasia11Susciuc Anastasia Anastasia11 Data 14 februarie 2019 19:11:19
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:64:57: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=] for (int i = 1; i <= n; i++) scanf("%d", &prieten[i]); ^ main.cpp:60:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lanterna.in", "r", stdin); ^ main.cpp:61:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lanterna.out", "w", stdout); ^ main.cpp:63: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:64:58: 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", &prieten[i]); ^ main.cpp:66:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:70:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &X, &Y, &T, &W); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms524kbOK10
223ms786kbOK10
39ms524kbOK10
492ms655kbOK10
564ms655kbOK10
6100ms1572kbTime limit exceeded0
7100ms3145kbTime limit exceeded0
87ms393kbOK10
92ms131kbOK10
1046ms393kbOK10
Punctaj total80

Ceva nu functioneaza?