Borderou de evaluare (job #1733058)

Utilizator Firealex2Rotileanu Alexandru Firealex2 Data 23 iulie 2016 15:38:38
Problema Sum Max Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 55

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d", &t, &n, &st, &dr); ^ user.cpp:30:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:30:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:30:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:42:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", nr_traseu - 1);//fo << nr_traseu - 1; ^ user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("summax.in", "r", stdin); ^ user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("summax.out", "w", stdout); ^ user.cpp:30:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &t, &n, &st, &dr); ^ user.cpp:34:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]);//fi >> a[i][j]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms356kbOK5
2100ms5464kbOK5
3Depăşit8652kbTime limit exceeded.0
4288ms11708kbOK5
50ms360kbOK5
61016ms396kbOK5
7Depăşit500kbTime limit exceeded.0
8Depăşit684kbTime limit exceeded.0
9Depăşit2784kbTime limit exceeded.0
10Depăşit4072kbTime limit exceeded.0
11Depăşit5508kbTime limit exceeded.0
12Depăşit6280kbTime limit exceeded.0
13152ms6392kbOK5
14292ms6468kbOK5
15Depăşit7076kbTime limit exceeded.0
16200ms7888kbOK5
17408ms8684kbOK5
18Depăşit10228kbTime limit exceeded.0
19628ms11048kbOK5
20652ms11840kbOK5
Punctaj total55

Ceva nu functioneaza?