Borderou de evaluare (job #1315229)

Utilizator Mihai22eMihai Ionut Enache Mihai22e Data 12 ianuarie 2015 17:07:14
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:47:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[252]’ [-Wformat=] scanf("%s", &s); ^ user.cpp:42: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:43: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:45: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:47:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s); ^ user.cpp:67: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
10ms428kbOK10
20ms484kbOK10
30ms500kbOK10
4Depăşit2408kbTime limit exceeded.0
5Depăşit2472kbTime limit exceeded.0
6Depăşit2428kbTime limit exceeded.0
7Depăşit2368kbTime limit exceeded.0
8Depăşit2360kbTime limit exceeded.0
9Depăşit2476kbTime limit exceeded.0
10Depăşit2312kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?