Pagini recente » Borderou de evaluare (job #2216498) | Borderou de evaluare (job #1729008) | Borderou de evaluare (job #1877575) | Borderou de evaluare (job #537722) | Borderou de evaluare (job #1498105)
Borderou de evaluare (job #1498105)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(c.size()>k+1)
^
user.cpp:43:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<m[nod].size();i++)
^
user.cpp:34:9: warning: variable ‘n1’ set but not used [-Wunused-but-set-variable]
int n1,n2,i,nod;
^
user.cpp: In function ‘void initialization()’:
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.in","r",stdin);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.out","w",stdout);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n1,&n2);
^
user.cpp: In function ‘int main()’:
user.cpp:48:37: warning: ‘n2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cost[n2]+=cost[nod];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 548kb | Incorect | 0 |
2 | 0ms | 556kb | OK | 5 |
3 | 0ms | 556kb | Incorect | 0 |
4 | Depăşit | 524kb | Time limit exceeded. | 0 |
5 | 0ms | 548kb | Incorect | 0 |
6 | Depăşit | 524kb | Time limit exceeded. | 0 |
7 | Depăşit | 532kb | Time limit exceeded. | 0 |
8 | 0ms | 576kb | OK | 5 |
9 | Depăşit | 544kb | Time limit exceeded. | 0 |
10 | 0ms | 576kb | Incorect | 0 |
11 | 0ms | 600kb | OK | 5 |
12 | Depăşit | 572kb | Time limit exceeded. | 0 |
13 | Depăşit | 592kb | Time limit exceeded. | 0 |
14 | Depăşit | 596kb | Time limit exceeded. | 0 |
15 | Depăşit | 600kb | Time limit exceeded. | 0 |
16 | Depăşit | 596kb | Time limit exceeded. | 0 |
17 | Depăşit | 620kb | Time limit exceeded. | 0 |
18 | Depăşit | 652kb | Time limit exceeded. | 0 |
19 | Depăşit | 708kb | Time limit exceeded. | 0 |
20 | Depăşit | 764kb | Time limit exceeded. | 0 |
Punctaj total | 15 |