Borderou de evaluare (job #1380525)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("qvect.in","r",stdin);
^
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("qvect.out","w",stdout);
^
user.cpp:18:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&s[i]);
^
user.cpp:22:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=1;j<=s[i];j++) scanf("%d",&a[i][j]);
^
user.cpp:27:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&tip,&p1,&p2);
^
user.cpp:65:27: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ind[pos]++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 340kb | OK | 5 |
2 | 0ms | 408kb | OK | 5 |
3 | 52ms | 1024kb | OK | 5 |
4 | 252ms | 2216kb | OK | 5 |
5 | 0ms | 300kb | OK | 5 |
6 | 344ms | 648kb | OK | 5 |
7 | Depăşit | 2208kb | Time limit exceeded. | 0 |
8 | 308ms | 852kb | Incorect | 0 |
9 | Depăşit | 1236kb | Time limit exceeded. | 0 |
10 | Depăşit | 1904kb | Time limit exceeded. | 0 |
11 | Depăşit | 2092kb | Time limit exceeded. | 0 |
12 | Depăşit | 1876kb | Time limit exceeded. | 0 |
13 | Depăşit | 2116kb | Time limit exceeded. | 0 |
14 | Depăşit | 2212kb | Time limit exceeded. | 0 |
15 | Depăşit | 2216kb | Time limit exceeded. | 0 |
16 | Depăşit | 2212kb | Time limit exceeded. | 0 |
17 | 112ms | 1892kb | Killed by signal 11(SIGSEGV). | 0 |
18 | Depăşit | 1920kb | Time limit exceeded. | 0 |
19 | Depăşit | 2212kb | Time limit exceeded. | 0 |
20 | Depăşit | 2216kb | Time limit exceeded. | 0 |
Punctaj total | 30 |