Pagini recente » Borderou de evaluare (job #226910) | Borderou de evaluare (job #615216) | Borderou de evaluare (job #1575477) | Borderou de evaluare (job #154056) | Borderou de evaluare (job #1638811)
Borderou de evaluare (job #1638811)
Raport evaluator
Compilare:
user.cpp: In function ‘void valideaza(int, int)’:
user.cpp:32:30: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(((a[x][y]>>i) & 1)==(K>>i) & 1)
^
user.cpp: In function ‘int main()’:
user.cpp:68:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<b.size();i++)
^
user.cpp:47:82: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%hd%hd%hd%d%d%d%hd%hd",&cerinta,&n,&m,&T,&panda.x,&panda.y,&K,&S);
^
user.cpp:53:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&v.x,&v.y);
^
user.cpp:60:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%hd",&a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 4 |
2 | 0ms | 448kb | Incorect | 0 |
3 | 0ms | 444kb | Incorect | 0 |
4 | 24ms | 736kb | Incorect | 0 |
5 | 0ms | 444kb | OK | 4 |
6 | 36ms | 788kb | Incorect | 0 |
7 | 56ms | 940kb | Incorect | 0 |
8 | 64ms | 932kb | Incorect | 0 |
9 | 48ms | 888kb | Incorect | 0 |
10 | 28ms | 732kb | Incorect | 0 |
11 | 0ms | 440kb | OK | 4 |
12 | 44ms | 884kb | Incorect | 0 |
13 | 56ms | 884kb | Incorect | 0 |
14 | 68ms | 952kb | OK | 4 |
15 | 0ms | 464kb | Incorect | 0 |
16 | 64ms | 936kb | OK | 4 |
17 | 60ms | 932kb | Incorect | 0 |
18 | 0ms | 540kb | OK | 4 |
19 | 16ms | 644kb | Incorect | 0 |
20 | 12ms | 592kb | OK | 4 |
21 | 64ms | 936kb | Incorect | 0 |
22 | 64ms | 944kb | Incorect | 0 |
23 | 40ms | 912kb | Incorect | 0 |
24 | 68ms | 944kb | Incorect | 0 |
25 | 48ms | 924kb | Incorect | 0 |
Punctaj total | 28 |