Pagini recente » Borderou de evaluare (job #2031480) | Borderou de evaluare (job #1987920) | Borderou de evaluare (job #1675269) | Borderou de evaluare (job #2531233) | Borderou de evaluare (job #1716035)
Borderou de evaluare (job #1716035)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:64:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in", "r", stdin);
^
user.cpp:65:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:70:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(w + 1);
^
user.cpp: In function ‘void solve()’:
user.cpp:79:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:82:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(w + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:95:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out", "w", stdout);
^
/tmp/ccJyyHVc.o: In function `read()':
user.cpp:(.text+0x1d3): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 484kb | OK | 10 |
| 2 | 0ms | 896kb | OK | 10 |
| 3 | 0ms | 2584kb | OK | 10 |
| 4 | 16ms | 14140kb | OK | 10 |
| 5 | 88ms | 67060kb | OK | 10 |
| 6 | 116ms | 83748kb | OK | 10 |
| 7 | 216ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 216ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 216ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 216ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 60 |