Pagini recente » Borderou de evaluare (job #1238524) | Borderou de evaluare (job #997312) | Borderou de evaluare (job #2747936) | Borderou de evaluare (job #877178) | Borderou de evaluare (job #1330089)
Borderou de evaluare (job #1330089)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:27: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld",&a[i]);
^
user.cpp:30:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bete2.in","r",stdin);
^
user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:34:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 10 |
2 | 0ms | 468kb | OK | 10 |
3 | 0ms | 468kb | OK | 10 |
4 | 0ms | 472kb | OK | 10 |
5 | 88ms | 476kb | OK | 10 |
6 | 144ms | 480kb | OK | 10 |
7 | 180ms | 480kb | OK | 10 |
8 | 184ms | 480kb | OK | 10 |
9 | 208ms | 480kb | OK | 10 |
10 | 204ms | 480kb | OK | 10 |
Punctaj total | 100 |