Pagini recente » Borderou de evaluare (job #1576073) | Borderou de evaluare (job #1550896) | Cod sursa (job #150331) | Borderou de evaluare (job #1484506) | Borderou de evaluare (job #1340011)
Borderou de evaluare (job #1340011)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:40: warning: unused variable ‘tmp’ [-Wunused-variable]
long go = pos[i+j-2],ans=0,tmp;
^
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.in","r",stdin);
^
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("sudest.out","w",stdout);
^
user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:25:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=n;j++) scanf("%ld",&a[i][j]);
^
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&k);
^
user.cpp:27:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=k;i++) scanf("%ld",&m[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 464kb | OKAY! | 10 |
| 2 | 0ms | 476kb | OKAY! | 10 |
| 3 | 0ms | 484kb | OKAY! | 10 |
| 4 | 0ms | 488kb | OKAY! | 10 |
| 5 | 0ms | 504kb | OKAY! | 10 |
| 6 | 0ms | 520kb | OKAY! | 10 |
| 7 | 0ms | 536kb | OKAY! | 10 |
| 8 | 0ms | 548kb | OKAY! | 10 |
| 9 | 0ms | 556kb | OKAY! | 10 |
| 10 | 0ms | 468kb | OKAY! | 10 |
| Punctaj total | 100 |