Pagini recente » Cod sursa (job #3279697) | Borderou de evaluare (job #1554966) | Borderou de evaluare (job #1514584) | Borderou de evaluare (job #1985218) | Borderou de evaluare (job #1704620)
Borderou de evaluare (job #1704620)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,a,b;
^
user.cpp:17:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori5.in","r",stdin);
^
user.cpp:18:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori5.out","w",stdout);
^
user.cpp:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:31:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 292kb | OK | 10 |
7 | 8ms | 312kb | OK | 10 |
8 | 240ms | 2228kb | OK | 10 |
9 | 248ms | 2232kb | OK | 10 |
10 | 240ms | 2228kb | OK | 10 |
Punctaj total | 100 |