Pagini recente » Borderou de evaluare (job #1223463) | Borderou de evaluare (job #245655) | Borderou de evaluare (job #257058) | Borderou de evaluare (job #61242) | Borderou de evaluare (job #1855210)
Borderou de evaluare (job #1855210)
Raport evaluator
Compilare:
user.cpp: In function ‘bool ver(int, int)’:
user.cpp:9:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(i > j) return d[i][j] = 1;
^
user.cpp:14:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
return d[i][j] = 1;
^
user.cpp:17:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
return d[i][j] = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palin3.in", "r", stdin);
^
user.cpp:22:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palin3.out", "w", stdout);
^
user.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
user.cpp:9:28: warning: array subscript is below array bounds [-Warray-bounds]
if(i > j) return d[i][j] = 1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 324kb | OK | 10 |
| 2 | 0ms | 328kb | OK | 10 |
| 3 | 0ms | 328kb | OK | 10 |
| 4 | 0ms | 324kb | OK | 10 |
| 5 | 0ms | 324kb | OK | 10 |
| 6 | 4ms | 320kb | OK | 10 |
| 7 | 8ms | 324kb | OK | 10 |
| 8 | 8ms | 324kb | OK | 10 |
| 9 | 12ms | 328kb | OK | 10 |
| 10 | 12ms | 324kb | OK | 10 |
| Punctaj total | 100 |