Pagini recente » Borderou de evaluare (job #165674) | Borderou de evaluare (job #2747546) | Borderou de evaluare (job #767908) | Borderou de evaluare (job #1534890) | Borderou de evaluare (job #2148140)
Borderou de evaluare (job #2148140)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve1()’:
user.cpp:22:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<a.size();++i)
^
user.cpp: In function ‘void Solve2()’:
user.cpp:53:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<int>::size_type {aka long unsigned int}’ [-Wformat=]
printf("%d ",a.size());
^
user.cpp: In function ‘void Read()’:
user.cpp:64:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&Q);
^
user.cpp: In function ‘void Solve1()’:
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp: In function ‘void Solve2()’:
user.cpp:39:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&pos);
^
user.cpp: In function ‘void Read()’:
user.cpp:64:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Q);
^
user.cpp:67:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&type);
^
user.cpp: In function ‘int main()’:
user.cpp:76:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("order3.in","r",stdin);
^
user.cpp:77:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("order3.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 884kb | OK | 5 |
2 | 0ms | 884kb | OK | 5 |
3 | 0ms | 884kb | OK | 5 |
4 | 0ms | 880kb | OK | 5 |
5 | 0ms | 888kb | OK | 5 |
6 | 256ms | 884kb | OK | 5 |
7 | 440ms | 884kb | OK | 5 |
8 | 508ms | 880kb | OK | 5 |
9 | 468ms | 884kb | OK | 5 |
10 | 324ms | 932kb | OK | 5 |
11 | 552ms | 884kb | OK | 5 |
12 | 336ms | 884kb | OK | 5 |
13 | 592ms | 880kb | OK | 5 |
14 | 380ms | 888kb | OK | 5 |
15 | 616ms | 888kb | OK | 5 |
16 | 496ms | 888kb | OK | 5 |
17 | 616ms | 888kb | OK | 5 |
18 | 600ms | 884kb | OK | 5 |
19 | 752ms | 888kb | OK | 5 |
20 | 652ms | 888kb | OK | 5 |
Punctaj total | 100 |