Borderou de evaluare (job #1224294)

Utilizator isa_mirica_mihaiMirica Matei isa_mirica_mihai Data 30 august 2014 13:54:37
Problema Inter Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d", &v2[i], &v3[i]); ^ user.cpp:22:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:11:44: warning: variable ‘j’ set but not used [-Wunused-but-set-variable] int n, m, x, y, i, aux, p1, p2, ok, c, j; ^ user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("inter.in", "r", stdin); ^ user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("inter.out", "w", stdout); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:22:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &v2[i], &v3[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms256kbOK10
2220ms260kbOK10
3Depăşit324kbTime limit exceeded.0
4Depăşit408kbTime limit exceeded.0
5Depăşit532kbTime limit exceeded.0
6Depăşit556kbTime limit exceeded.0
7Depăşit712kbTime limit exceeded.0
8Depăşit824kbTime limit exceeded.0
9Depăşit1048kbTime limit exceeded.0
10Depăşit1184kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?