Borderou de evaluare (job #1800475)

Utilizator giotoPopescu Ioan gioto Data 7 noiembrie 2016 20:02:37
Problema Dif2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 85

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &caz); ^ user.cpp:36:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:43:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%lld%lld", &n, &p1, &p2); ^ user.cpp:45:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &a[i]); ^ user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dif2.in", "r", stdin); ^ user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dif2.out", "w", stdout); ^ user.cpp:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &caz); ^ user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:38:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &a[i]); ^ user.cpp:43:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%lld%lld", &n, &p1, &p2); ^ user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1124ms2508kbOK5
2104ms2104kbOK5
368ms1560kbOK5
468ms1572kbOK5
5100ms2068kbOK5
60ms1448kbOK5
70ms1448kbOK5
8108ms1720kbOK5
9132ms1788kbOK5
1032ms1532kbOK5
11140ms1796kbOK5
12108ms1720kbOK5
13128ms1776kbOK5
14692ms3072kbOK5
15Depăşit3656kbTime limit exceeded.0
16608ms2868kbOK5
17Depăşit3604kbTime limit exceeded.0
18Depăşit3324kbTime limit exceeded.0
19592ms2840kbOK5
2040ms1056kbOK5
Punctaj total85

Ceva nu functioneaza?