Pagini recente » Borderou de evaluare (job #3187959) | Monitorul de evaluare | Borderou de evaluare (job #3251661) | Borderou de evaluare (job #2922927) | Borderou de evaluare (job #1864999)
Borderou de evaluare (job #1864999)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:35: warning: unused variable ‘x’ [-Wunused-variable]
int m, n = 0, i1 = -1, j1 = -1, x;
^
user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("div.in", "r", stdin);
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("div.out", "w", stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:12:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/cc4H2DFO.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 52ms | 316kb | Incorect | 0 |
| 2 | 48ms | 312kb | Incorect | 0 |
| 3 | 48ms | 308kb | Incorect | 0 |
| 4 | Depăşit | 288kb | Time limit exceeded. | 0 |
| 5 | 40ms | 316kb | OK | 10 |
| 6 | 0ms | 284kb | OK | 10 |
| 7 | 12ms | 304kb | Incorect | 0 |
| 8 | 24ms | 304kb | OK | 10 |
| 9 | Depăşit | 284kb | Time limit exceeded. | 0 |
| 10 | 0ms | 284kb | Incorect | 0 |
| Punctaj total | 30 |