Borderou de evaluare (job #2379697)
Raport evaluator
Compilare:
main.cpp: In function 'char adv()':
main.cpp:27:37: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buf,sizeof(char),SIZE,fin);
^
main.cpp: In function 'int main()':
main.cpp:55:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d ",&c,&n,&k);
^
main.cpp:60:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d ",&a);
^
main.cpp:118:45: warning: 'pmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout,"%d\n%d %d",lsolmax,psolmax-lsolmax+1,psolmax);
~~~~~~~^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 400ms | 131kb | Time limit exceeded | 0 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 4ms | 131kb | OK | 10 |
5 | 8ms | 131kb | OK | 10 |
6 | 400ms | 131kb | Time limit exceeded | 0 |
7 | 13ms | 262kb | OK | 10 |
8 | 56ms | 524kb | OK | 10 |
9 | 403ms | 131kb | Time limit exceeded | 0 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 70 |