Borderou de evaluare (job #2477310)

Utilizator MatteoalexandruMatteo Verzotti Matteoalexandru Data 19 octombrie 2019 22:44:32
Problema Lumanari Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:71:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] scanf("%d", &n); ^ main.cpp:72:46: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] for(i = 1; i <= n; i++) scanf("%d", &v[i]); ^ main.cpp:81:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=] printf("%d\n", r); ^ main.cpp:70:11: warning: unused variable 't' [-Wunused-variable] ll i, t(0), r, pas; ^ main.cpp:68:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lumanari.in", "r", stdin); ^ main.cpp:69:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lumanari.out", "w", stdout); ^ main.cpp:71:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:72:47: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(i = 1; i <= n; i++) scanf("%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
22ms131kbOK1010
32ms131kbOK1010
4118ms1441kbOK1010
5140ms1703kbOK1010
6138ms1572kbOK1010
7112ms1703kbOK1010
8125ms1703kbOK100
984ms1572kbOK10
1072ms1572kbIncorect0
Punctaj total70

Ceva nu functioneaza?