Pagini recente » Borderou de evaluare (job #808379) | Borderou de evaluare (job #2253201) | Borderou de evaluare (job #2498837) | Borderou de evaluare (job #384193) | Borderou de evaluare (job #1391399)
Borderou de evaluare (job #1391399)
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:147: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:132: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 | 2924kb | OK | 10 |
2 | 52ms | 6376kb | OK | 10 |
3 | 228ms | 10176kb | OK | 10 |
4 | 444ms | 13984kb | OK | 10 |
5 | 668ms | 18040kb | OK | 10 |
6 | 1584ms | 28716kb | OK | 10 |
7 | 1516ms | 26472kb | OK | 10 |
8 | 2080ms | 30796kb | OK | 10 |
9 | 2620ms | 35304kb | OK | 10 |
10 | Depăşit | 39504kb | Time limit exceeded. | 0 |
Punctaj total | 90 |