Pagini recente » Borderou de evaluare (job #2387816) | Borderou de evaluare (job #2320910) | Borderou de evaluare (job #222077) | Borderou de evaluare (job #2222496) | Borderou de evaluare (job #2148100)
Borderou de evaluare (job #2148100)
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:64: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:65:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<a.size();++i) printf("%d ",a[i]);
^
user.cpp:37:15: warning: unused variable ‘j’ [-Wunused-variable]
int sum,i,j;
^
user.cpp: In function ‘void Read()’:
user.cpp:72: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:72:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Q);
^
user.cpp:75: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:84: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:85: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 | 888kb | OK | 5 |
2 | 0ms | 880kb | OK | 5 |
3 | 4ms | 888kb | Incorect | 0 |
4 | 0ms | 884kb | Incorect | 0 |
5 | 0ms | 884kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 256ms | 884kb | OK | 5 |
7 | 456ms | 884kb | OK | 5 |
8 | 24ms | 888kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 156ms | 888kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 396ms | 884kb | Incorect | 0 |
11 | 560ms | 888kb | OK | 5 |
12 | 340ms | 880kb | OK | 5 |
13 | 892ms | 888kb | Incorect | 0 |
14 | 564ms | 888kb | Incorect | 0 |
15 | 788ms | 888kb | Incorect | 0 |
16 | 500ms | 884kb | OK | 5 |
17 | 608ms | 884kb | OK | 5 |
18 | 948ms | 884kb | Incorect | 0 |
19 | 1172ms | 884kb | Incorect | 0 |
20 | 856ms | 884kb | Incorect | 0 |
Punctaj total | 40 |