Pagini recente » Borderou de evaluare (job #3131793) | Borderou de evaluare (job #3162656) | Borderou de evaluare (job #144111) | Borderou de evaluare (job #2384371) | Borderou de evaluare (job #2630396)
Borderou de evaluare (job #2630396)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:180:28: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s , 60010 , fin);
^
main.cpp:186:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d\n",&cuv);
^
main.cpp:190:33: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s , 800010 , fin);
^
main.cpp:202:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d",&q);
^
main.cpp:206:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d",&tip);
^
main.cpp:209:52: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d %c %d%d",&poz,&c,&a,&b);
^
main.cpp:221:52: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d%d%d",&poz,&ind,&a,&b);
^
main.cpp:176:16: warning: iteration 800009 invokes undefined behavior [-Waggressive-loop-optimizations]
pu1[i] = (pu1[i - 1] * ('z' - 'a'))%MOD1;
^
main.cpp:175:20: note: within this loop
for (i = 1 ; i <= DIMN ; i++){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 91ms | 13631kb | OK | 10 |
2 | 72ms | 13762kb | OK | 10 |
3 | 396ms | 16646kb | OK | 10 |
4 | 346ms | 16515kb | OK | 10 |
5 | 348ms | 16646kb | OK | 10 |
6 | 343ms | 16773kb | OK | 10 |
7 | 344ms | 16777kb | OK | 10 |
8 | 356ms | 16908kb | OK | 10 |
9 | 306ms | 16777kb | OK | 10 |
10 | 326ms | 16777kb | OK | 10 |
Punctaj total | 100 |