Borderou de evaluare (job #2697581)

Utilizator vladth11Vlad Haivas vladth11 Data 18 ianuarie 2021 22:35:13
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:122: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:122:35: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] main.cpp:122:35: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'll* {aka long long int*}' [-Wformat=] main.cpp:100: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:101: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:103: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:105:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^ main.cpp:108:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^ main.cpp:112:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^ main.cpp:122: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
47ms262kbOK10
58ms262kbOK10
6153ms1675kbOK10
7288ms3145kbOK10
8438ms3670kbOK10
9501ms5898kbTime limit exceeded0
10503ms6090kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?