Pagini recente » Borderou de evaluare (job #1096755) | Borderou de evaluare (job #926623) | Borderou de evaluare (job #1545737) | Borderou de evaluare (job #881923) | Borderou de evaluare (job #2207864)
Borderou de evaluare (job #2207864)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:27: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld%lld",&n,&m);
^
user.cpp:35:27: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld",&v[i]);
^
user.cpp:30:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in","r",stdin);
^
user.cpp:31:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out","w",stdout);
^
user.cpp:32:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&n,&m);
^
user.cpp:35:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&v[i]);
^
user.cpp:40:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&q);
^
user.cpp:43:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
case 0: scanf("%lld%lld",&a,&b);
^
user.cpp:46:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
case 1: scanf("%lld%lld",&a,&b);
^
user.cpp:50:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 804kb | OK | 10 |
2 | 0ms | 752kb | OK | 10 |
3 | 8ms | 932kb | OK | 10 |
4 | 36ms | 948kb | OK | 10 |
5 | 80ms | 1068kb | OK | 10 |
6 | 124ms | 1420kb | OK | 10 |
7 | 136ms | 1656kb | OK | 10 |
8 | 196ms | 1824kb | OK | 10 |
9 | 196ms | 1824kb | OK | 10 |
10 | 196ms | 1820kb | OK | 10 |
Punctaj total | 100 |