Pagini recente » Borderou de evaluare (job #890579) | Borderou de evaluare (job #2972216) | Borderou de evaluare (job #2652725) | Borderou de evaluare (job #2622547) | Borderou de evaluare (job #1391366)
Borderou de evaluare (job #1391366)
Raport evaluator
Compilare:
user.cpp: In function ‘void Citire()’:
user.cpp:33:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld %ld %ld %ld\n",&N,&M,&K,&T);
^
user.cpp:36: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:136:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(long int t=1;t<=T;t++){ fscanf(f,"%ld",&q); fprintf(g,"%ld\n",Q[q]); }
^
user.cpp: In function ‘void Rezolvare()’:
user.cpp:121: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 | 6380kb | OK | 10 |
3 | 220ms | 10184kb | OK | 10 |
4 | 400ms | 13988kb | OK | 10 |
5 | 616ms | 18048kb | OK | 10 |
6 | 1492ms | 28724kb | OK | 10 |
7 | 1432ms | 26476kb | OK | 10 |
8 | 1936ms | 30804kb | OK | 10 |
9 | 2456ms | 35304kb | OK | 10 |
10 | Depăşit | 39500kb | Time limit exceeded. | 0 |
Punctaj total | 90 |