Borderou de evaluare (job #1386276)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:63:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:81:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < v[X.l].size(); ++i)
^
user.cpp:94:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[nod].size(); ++i) b[i+1] = v[nod][i];
^
user.cpp:53:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("atac2.in","r",stdin);
^
user.cpp:54:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("atac2.out","w",stdout);
^
user.cpp:55:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&m,&k,&nod);
^
user.cpp:63:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:71:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 5 |
2 | 0ms | 428kb | Incorect | 0 |
3 | 0ms | 452kb | Incorect | 0 |
4 | 0ms | 472kb | Incorect | 0 |
5 | 0ms | 472kb | Incorect | 0 |
6 | 0ms | 484kb | Incorect | 0 |
7 | 0ms | 484kb | Incorect | 0 |
8 | 4ms | 548kb | Incorect | 0 |
9 | 4ms | 552kb | Incorect | 0 |
10 | 8ms | 596kb | Incorect | 0 |
11 | 44ms | 1612kb | Incorect | 0 |
12 | 80ms | 2112kb | Incorect | 0 |
13 | 0ms | 516kb | Incorect | 0 |
14 | 4ms | 684kb | Incorect | 0 |
15 | 16ms | 1056kb | Incorect | 0 |
16 | 32ms | 1584kb | Incorect | 0 |
17 | 72ms | 2640kb | Incorect | 0 |
18 | 0ms | 1164kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 0ms | 1288kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 0ms | 1648kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 5 |