Pagini recente » Borderou de evaluare (job #206096) | Borderou de evaluare (job #465333) | Borderou de evaluare (job #1964663) | Borderou de evaluare (job #2388970) | Borderou de evaluare (job #1688958)
Borderou de evaluare (job #1688958)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:80:10: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s2[p]=NULL;
^
user.cpp:39:9: warning: unused variable ‘n’ [-Wunused-variable]
int n,l,i=0,j,x,p,ok=0,k,y,minim,nrminim;
^
user.cpp:37:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dist.in","r",stdin);
^
user.cpp:38:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dist.out","w",stdout);
^
user.cpp:40:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:56:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cchUesuO.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK! | 10 |
| 2 | 4ms | 260kb | Numar mutari gresit | 6 |
| 3 | 8ms | 264kb | Numar mutari gresit | 6 |
| 4 | 36ms | 260kb | Numar mutari gresit | 6 |
| 5 | 24ms | 260kb | Numar mutari gresit | 6 |
| 6 | 96ms | 256kb | Numar mutari gresit | 6 |
| 7 | 112ms | 264kb | Numar mutari gresit | 6 |
| 8 | 60ms | 264kb | Numar mutari gresit | 6 |
| 9 | 44ms | 260kb | Numar mutari gresit | 6 |
| 10 | 0ms | 264kb | Numar mutari gresit | 6 |
| Punctaj total | 64 |