Pagini recente » Borderou de evaluare (job #1188362) | Borderou de evaluare (job #402895) | Borderou de evaluare (job #1746437) | Borderou de evaluare (job #839493) | Borderou de evaluare (job #1391388)
Borderou de evaluare (job #1391388)
Raport evaluator
Compilare:
user.cpp: In function ‘void Citire()’:
user.cpp:42:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d %d\n",&N,&M,&K,&T);
^
user.cpp:45:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,10025,f); l = strlen(s);
^
user.cpp: In function ‘int main()’:
user.cpp:145:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int t=1;t<=T;t++){ fscanf(f,"%d",&q); fprintf(g,"%d\n",Q[q]); }
^
user.cpp: In function ‘void Rezolvare()’:
user.cpp:130:53: warning: ‘mij’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if( Lmin != -1 ) { Q[Lmin]++; Q[Lmax+1]--; }
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 2920kb | OK | 10 |
2 | 52ms | 6376kb | OK | 10 |
3 | 220ms | 10172kb | OK | 10 |
4 | 404ms | 13988kb | OK | 10 |
5 | 616ms | 18044kb | OK | 10 |
6 | 1488ms | 28720kb | OK | 10 |
7 | 1440ms | 26468kb | OK | 10 |
8 | 1944ms | 30796kb | OK | 10 |
9 | 2468ms | 35296kb | OK | 10 |
10 | Depăşit | 39504kb | Time limit exceeded. | 0 |
Punctaj total | 90 |