Pagini recente » Borderou de evaluare (job #2235005) | Borderou de evaluare (job #2565062) | Borderou de evaluare (job #78780) | Borderou de evaluare (job #240327) | Borderou de evaluare (job #1391380)
Borderou de evaluare (job #1391380)
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:138: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:123: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 | 2916kb | OK | 10 |
2 | 56ms | 6380kb | OK | 10 |
3 | 236ms | 10176kb | OK | 10 |
4 | 452ms | 13988kb | OK | 10 |
5 | 680ms | 18040kb | OK | 10 |
6 | 1628ms | 28720kb | OK | 10 |
7 | 1540ms | 26476kb | OK | 10 |
8 | 2112ms | 30796kb | OK | 10 |
9 | 2660ms | 35300kb | OK | 10 |
10 | Depăşit | 39504kb | Time limit exceeded. | 0 |
Punctaj total | 90 |