Pagini recente » Borderou de evaluare (job #1729007) | Borderou de evaluare (job #2190532) | Borderou de evaluare (job #238114) | Borderou de evaluare (job #989998) | Borderou de evaluare (job #1392380)
Borderou de evaluare (job #1392380)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",q[i]);
^
user.cpp:27:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<q.size();i++)
^
user.cpp:28:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",q[i]);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carti3.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carti3.out","w",stdout);
^
user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:15:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=m;i++){scanf("%lld",&a);q.push_back(a);}
^
user.cpp:17:25: 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 | 428kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 4ms | 508kb | OK | 10 |
5 | 56ms | 1048kb | OK | 10 |
6 | 52ms | 1048kb | OK | 10 |
7 | 100ms | 1868kb | OK | 10 |
8 | 104ms | 1864kb | OK | 10 |
9 | 252ms | 3952kb | OK | 10 |
10 | 228ms | 3952kb | OK | 10 |
Punctaj total | 100 |