Pagini recente » Borderou de evaluare (job #1933368) | Borderou de evaluare (job #1191302) | Borderou de evaluare (job #851522) | Borderou de evaluare (job #2549304) | Borderou de evaluare (job #2188141)
Borderou de evaluare (job #2188141)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:19:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(i!=1)
^~
user.cpp:21:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
ans+=a[i]/a[1];
^~~
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mutari.in","r",stdin);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mutari.out","w",stdout);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 84ms | 880kb | Raspuns gresit | 0 |
2 | 64ms | 756kb | Raspuns gresit | 0 |
3 | 108ms | 856kb | Raspuns gresit | 0 |
4 | 112ms | 756kb | Raspuns gresit | 0 |
5 | 0ms | 800kb | Raspuns corect | 10 |
6 | 212ms | 812kb | Raspuns gresit | 0 |
7 | 144ms | 844kb | Raspuns gresit | 0 |
8 | 216ms | 968kb | Raspuns gresit | 0 |
9 | 184ms | 1044kb | Raspuns gresit | 0 |
10 | 176ms | 1044kb | Raspuns gresit | 0 |
Punctaj total | 10 |