Pagini recente » Borderou de evaluare (job #10454) | Cod sursa (job #2672246) | Borderou de evaluare (job #2479485) | Borderou de evaluare (job #575230) | Borderou de evaluare (job #1491586)
Borderou de evaluare (job #1491586)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int, int)’:
user.cpp:32:9: warning: unused variable ‘nr’ [-Wunused-variable]
int nr=0,nrcomp=0,nr1=0,nr2=0,nr3=0;
^
user.cpp: In function ‘int main()’:
user.cpp:97:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rutier.in", "r", stdin);
^
user.cpp:98:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rutier.out", "w", stdout);
^
user.cpp:100:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:103:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&edge[i].x,&edge[i].c);
^
user.cpp:108:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:109:78: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=m;i++) scanf("%d%d%d",&edge1[i].x,&edge1[i].y,&edge1[i].c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 300kb | OK | 5 |
| 2 | 0ms | 304kb | OK | 5 |
| 3 | 0ms | 312kb | OK | 5 |
| 4 | 0ms | 324kb | OK | 5 |
| 5 | 428ms | 2676kb | OK | 5 |
| 6 | 416ms | 2220kb | OK | 5 |
| 7 | 264ms | 1520kb | OK | 5 |
| 8 | Depăşit | 3824kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 3824kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 5388kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 5388kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 5388kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 5396kb | Time limit exceeded. | 0 |
| 14 | 976ms | 1820kb | OK | 5 |
| 15 | 1152ms | 2012kb | OK | 5 |
| 16 | Depăşit | 3048kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 4212kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 4696kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 5248kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 5396kb | Time limit exceeded. | 0 |
| Punctaj total | 45 |