Pagini recente » Borderou de evaluare (job #2640938) | Borderou de evaluare (job #548601) | Borderou de evaluare (job #2498692) | Borderou de evaluare (job #2026867) | Borderou de evaluare (job #1714055)
Borderou de evaluare (job #1714055)
Raport evaluator
Compilare:
user.cpp: In function ‘int is_good(int)’:
user.cpp:9:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,sum,aux;
^
user.cpp: In function ‘int main()’:
user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in","r",stdin);
^
user.cpp:32:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.out","w",stdout);
^
user.cpp:35: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:37:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= n; ++i ) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 292kb | OK | 10 |
6 | 0ms | 304kb | OK | 10 |
7 | 0ms | 312kb | OK | 10 |
8 | 4ms | 316kb | OK | 10 |
9 | 4ms | 316kb | OK | 10 |
10 | 4ms | 324kb | OK | 10 |
Punctaj total | 100 |