Pagini recente » Cod sursa (job #323964) | Monitorul de evaluare | Monitorul de evaluare | Cod sursa (job #2136606) | Borderou de evaluare (job #1417483)
Borderou de evaluare (job #1417483)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.in","r",stdin);
^
user.cpp:20:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.out","w",stdout);
^
user.cpp:22:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:26:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buff + 1); int lg = strlen(buff + 1);
^
/tmp/ccIkwD3P.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK | 10 |
| 2 | 0ms | 284kb | OK | 10 |
| 3 | 0ms | 292kb | OK | 10 |
| 4 | 0ms | 400kb | OK | 10 |
| 5 | 20ms | 1052kb | OK | 10 |
| 6 | 172ms | 6596kb | OK | 10 |
| 7 | 168ms | 7388kb | OK | 10 |
| 8 | 192ms | 7388kb | OK | 10 |
| 9 | Depăşit | 8312kb | Time limit exceeded. | 0 |
| 10 | 0ms | 284kb | OK | 10 |
| Punctaj total | 90 |