Pagini recente » Borderou de evaluare (job #133691) | Borderou de evaluare (job #1541606) | Borderou de evaluare (job #1460045) | Borderou de evaluare (job #2331035) | Borderou de evaluare (job #1723560)
Borderou de evaluare (job #1723560)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve()’:
user.cpp:12:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%f",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:41:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("turneu.in","r",stdin);
^
user.cpp:42:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("turneu.out","w",stdout);
^
user.cpp:43:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d",&n); n; n--)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 276ms | 688kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 4ms | 296kb | OK | 10 |
4 | 4ms | 296kb | OK | 10 |
5 | 4ms | 300kb | OK | 10 |
6 | 4ms | 296kb | OK | 10 |
7 | 16ms | 332kb | OK | 10 |
8 | 16ms | 332kb | OK | 10 |
9 | 96ms | 684kb | OK | 10 |
10 | 92ms | 684kb | OK | 10 |
Punctaj total | 100 |