Pagini recente » Borderou de evaluare (job #1676026) | Borderou de evaluare (job #1911343) | Borderou de evaluare (job #1675916) | Borderou de evaluare (job #1653096) | Borderou de evaluare (job #1653080)
Borderou de evaluare (job #1653080)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31: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:32: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);
^
user.cpp:40:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n); N = n;
^
user.cpp:44:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:85:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:88:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccWnTl4Q.o: In function `main':
user.cpp:(.text.startup+0x12f): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 468kb | OK | 10 |
| 2 | 0ms | 496kb | OK | 10 |
| 3 | 8ms | 556kb | OK | 10 |
| 4 | 60ms | 860kb | OK | 10 |
| 5 | Depăşit | 1672kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 1684kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 4308kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 5428kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 4508kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 4904kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |