Pagini recente » Borderou de evaluare (job #2480131) | Borderou de evaluare (job #3329819) | Borderou de evaluare (job #3338500) | Borderou de evaluare (job #2111994) | Borderou de evaluare (job #1621760)
Borderou de evaluare (job #1621760)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:48: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
d[i&1][j]=(d[i&1][j-1]+d[1-i&1][i]-d[1-i&1][j-1]+MOD)%MOD;
^
user.cpp:20:60: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
d[i&1][j]=(d[i&1][j-1]+d[1-i&1][i]-d[1-i&1][j-1]+MOD)%MOD;
^
user.cpp:22:48: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
d[i&1][j]=(d[i&1][j-1]+d[1-i&1][j-1])%MOD;
^
user.cpp:25:20: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
d[1-i&1][j]=0;
^
user.cpp:27:33: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
fprintf(fout,"%d\n" ,d[1-n&1][n]);
^
user.cpp:11:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d" ,&t);
^
user.cpp:14:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&n);
^
user.cpp:17:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%c" ,&a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 5 |
| 2 | 0ms | 264kb | OK | 5 |
| 3 | 0ms | 260kb | OK | 5 |
| 4 | 0ms | 264kb | OK | 5 |
| 5 | 0ms | 264kb | OK | 5 |
| 6 | 0ms | 264kb | OK | 5 |
| 7 | 0ms | 260kb | OK | 5 |
| 8 | 0ms | 268kb | OK | 5 |
| 9 | 0ms | 264kb | OK | 5 |
| 10 | 0ms | 264kb | OK | 5 |
| 11 | 0ms | 264kb | OK | 5 |
| 12 | 0ms | 260kb | OK | 5 |
| 13 | 0ms | 264kb | OK | 5 |
| 14 | 4ms | 268kb | OK | 5 |
| 15 | 140ms | 272kb | OK | 5 |
| 16 | 228ms | 276kb | OK | 5 |
| 17 | 280ms | 268kb | OK | 5 |
| 18 | 344ms | 276kb | OK | 5 |
| 19 | 468ms | 272kb | OK | 5 |
| 20 | 492ms | 272kb | OK | 5 |
| Punctaj total | 100 |