Pagini recente » Borderou de evaluare (job #206633) | Borderou de evaluare (job #2667568) | Borderou de evaluare (job #2569568) | Borderou de evaluare (job #3145775) | Borderou de evaluare (job #2138016)
Borderou de evaluare (job #2138016)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:15: warning: unused variable ‘k’ [-Wunused-variable]
int i,n,q,k,j,c,l,m,pozm,pozl,min1,s,poz2,x;
^
user.cpp:12:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&q);
^
user.cpp:14:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&poz[i]);
^
user.cpp:16:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&mat[i][j]);
^
user.cpp:19:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d",&c,&l,&m);
^
user.cpp:48:22: warning: iteration 100u invokes undefined behavior [-Waggressive-loop-optimizations]
poz1[i]=1;
^
user.cpp:46:26: note: containing loop
for(i=1;i<=101;i++){
^
user.cpp:61:29: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
poz1[poz2]++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 904kb | Incorect | 0 |
2 | 0ms | 976kb | Incorect | 0 |
3 | 68ms | 1592kb | OK | 5 |
4 | 328ms | 2852kb | OK | 5 |
5 | 0ms | 864kb | Incorect | 0 |
6 | 280ms | 1224kb | Incorect | 0 |
7 | Depăşit | 2776kb | Time limit exceeded. | 0 |
8 | 276ms | 1420kb | Incorect | 0 |
9 | Depăşit | 1868kb | Time limit exceeded. | 0 |
10 | Depăşit | 2548kb | Time limit exceeded. | 0 |
11 | Depăşit | 2732kb | Time limit exceeded. | 0 |
12 | Depăşit | 2520kb | Time limit exceeded. | 0 |
13 | Depăşit | 2748kb | Time limit exceeded. | 0 |
14 | Depăşit | 2852kb | Time limit exceeded. | 0 |
15 | Depăşit | 2852kb | Time limit exceeded. | 0 |
16 | Depăşit | 2780kb | Time limit exceeded. | 0 |
17 | Depăşit | 2552kb | Time limit exceeded. | 0 |
18 | Depăşit | 2556kb | Time limit exceeded. | 0 |
19 | Depăşit | 2852kb | Time limit exceeded. | 0 |
20 | Depăşit | 2776kb | Time limit exceeded. | 0 |
Punctaj total | 10 |