Pagini recente » Borderou de evaluare (job #798421) | Borderou de evaluare (job #2573465) | Borderou de evaluare (job #2514253) | Borderou de evaluare (job #158389) | Borderou de evaluare (job #1486638)
Borderou de evaluare (job #1486638)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:19:5: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),gets(s),gets(t),n=strlen(s);
^
user.c:19:83: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),gets(s),gets(t),n=strlen(s);
^
user.c:19:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),gets(s),gets(t),n=strlen(s);
^
user.c:19:41: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),gets(s),gets(t),n=strlen(s);
^
user.c:19:69: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),gets(s),gets(t),n=strlen(s);
^
user.c:19:77: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),gets(s),gets(t),n=strlen(s);
^
/tmp/ccnOoFJN.o: In function `main':
user.c:(.text.startup+0x5b): 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 | 264kb | OK | 10 |
| 3 | 0ms | 320kb | OK | 10 |
| 4 | 0ms | 504kb | OK | 10 |
| 5 | 4ms | 832kb | OK | 10 |
| 6 | 8ms | 1172kb | OK | 10 |
| 7 | 8ms | 1216kb | OK | 10 |
| 8 | 8ms | 1204kb | OK | 10 |
| 9 | 8ms | 1196kb | OK | 10 |
| 10 | 8ms | 1332kb | OK | 10 |
| Punctaj total | 100 |