Borderou de evaluare (job #2697580)

Utilizator vladth11Vlad Haivas vladth11 Data 18 ianuarie 2021 22:33:22
Problema Adunare2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:123:35: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] scanf("%d%d%d", &x, &y, &z); ^ main.cpp:123:35: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] main.cpp:123:35: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'll* {aka long long int*}' [-Wformat=] main.cpp:101:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("adunare2.in", "r", stdin); ^ main.cpp:102:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("adunare2.out", "w", stdout); ^ main.cpp:104:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d ", &n, &q); ^ main.cpp:106:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^ main.cpp:109:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^ main.cpp:113:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^ main.cpp:123:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
35ms131kbOK10
48ms262kbOK10
58ms262kbOK10
6145ms1703kbOK10
7297ms3178kbOK10
8447ms3670kbOK10
9503ms5881kbTime limit exceeded0
10500ms5898kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?