Borderou de evaluare (job #2199720)

Utilizator cristinaveraCristina Verdeata cristinavera Data 28 aprilie 2018 20:21:23
Problema Sirag 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:16: warning: unused variable ‘e’ [-Wunused-variable] int t,i1,n,l,i,e,j,maxim=0,min1,min2; ^ user.cpp:10:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sirag2.in","r",stdin); ^ user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sirag2.out","w",stdout); ^ user.cpp:14:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:16:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&l); ^ user.cpp:17:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(ch+1,100003,stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms1324kbOK10
20ms856kbOK10
30ms932kbOK10
40ms860kbOK10
536ms1320kbOK10
636ms1324kbOK10
736ms1324kbOK10
836ms1324kbOK10
936ms1320kbOK10
1040ms1324kbOK10
Punctaj total100

Ceva nu functioneaza?