Borderou de evaluare (job #1424530)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 24 aprilie 2015 19:32:50
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:69:33: warning: format '%c' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=] scanf("%c", &a[i][j]); ^ main.cpp:63:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.in", "r", stdin); ^ main.cpp:64:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.out", "w", stdout); ^ main.cpp:65:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &n, &m, &q); ^ main.cpp:69:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &a[i][j]); ^ main.cpp:67:5: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n; ++i, scanf("\n")) ^~~ main.cpp:90: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
15ms1703kbRaspuns gresit!0
210ms2228kbRaspuns gresit!0
3452ms3932kbTime limit exceeded0
4452ms5636kbTime limit exceeded0
5452ms8388kbTime limit exceeded0
6451ms9568kbTime limit exceeded0
7452ms9699kbTime limit exceeded0
8451ms10616kbTime limit exceeded0
9451ms9961kbTime limit exceeded0
10451ms10092kbTime limit exceeded0
114ms1310kbRaspuns gresit!0
125ms1310kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?