Borderou de evaluare (job #1315259)

Utilizator Mihai22eMihai Ionut Enache Mihai22e Data 12 ianuarie 2015 17:55:26
Problema Matrice3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:59:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[252]’ [-Wformat=] scanf("%s", &s); ^ user.cpp:54:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("matrice3.in", "r", stdin); ^ user.cpp:55:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("matrice3.out", "w", stdout); ^ user.cpp:57:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &N, &M, &Q); ^ user.cpp:59:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s); ^ user.cpp:79:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &x1, &y1, &x2, &y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1040kbOK10
20ms1180kbOK10
30ms1220kbOK10
428msDepăşitMemory limit exceeded.0
532msDepăşitMemory limit exceeded.0
632msDepăşitMemory limit exceeded.0
728msDepăşitMemory limit exceeded.0
828msDepăşitMemory limit exceeded.0
932msDepăşitMemory limit exceeded.0
1028msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?