Borderou de evaluare (job #1315246)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[252]’ [-Wformat=] scanf("%s", &s); ^ user.cpp:49: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:50: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:52: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:54:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s); ^ user.cpp:74: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
10ms856kbIncorect0
20ms972kbIncorect0
30ms992kbIncorect0
424msDepăşitMemory limit exceeded.0
524msDepăşitMemory limit exceeded.0
628msDepăşitMemory limit exceeded.0
724msDepăşitMemory limit exceeded.0
824msDepăşitMemory limit exceeded.0
924msDepăşitMemory limit exceeded.0
1024msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?