Pagini recente » Cod sursa (job #3214366) | Borderou de evaluare (job #1057450) | Borderou de evaluare (job #1474687) | Cod sursa (job #390571) | Borderou de evaluare (job #1520434)
Borderou de evaluare (job #1520434)
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void read()':
main.cpp:26:22: error: 'gets' was not declared in this scope
gets(a[i] + 1);
^
main.cpp:23: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:24: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: In function 'void write()':
main.cpp:61: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:64: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);
^
Non zero exit status: 1
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 528kb | Raspuns gresit! | 0 |
| 2 | 0ms | 808kb | Raspuns gresit! | 0 |
| 3 | 12ms | 1960kb | Raspuns gresit! | 0 |
| 4 | 36ms | 3580kb | Raspuns gresit! | 0 |
| 5 | 128ms | 7320kb | Raspuns gresit! | 0 |
| 6 | 132ms | 6320kb | Raspuns gresit! | 0 |
| 7 | 144ms | 6768kb | Raspuns gresit! | 0 |
| 8 | 160ms | 8040kb | Raspuns gresit! | 0 |
| 9 | 156ms | 7396kb | Raspuns gresit! | 0 |
| 10 | 160ms | 8860kb | Raspuns gresit! | 0 |
| Punctaj total | 0 |