Pagini recente » Borderou de evaluare (job #2319694) | Borderou de evaluare (job #412515) | Borderou de evaluare (job #2423310) | Borderou de evaluare (job #1757121) | Borderou de evaluare (job #1253689)
Borderou de evaluare (job #1253689)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<G.size();i++){
^
user.cpp:71:42: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘std::vector<long int>::size_type {aka unsigned int}’ [-Wformat=]
printf("%ld\n%ld\n",ans,aEdges.size());
^
user.cpp:72:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<aEdges.size();i++) printf("%ld %ld\n",G[cEdge].n1,G[cEdge].n2);
^
user.cpp:51:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.in","r",stdin);
^
user.cpp:52:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.out","w",stdout);
^
user.cpp:54:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
user.cpp:56:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld",&tmp.n1,&tmp.n2,&tmp.cost);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | Corect | 10 |
| 2 | 0ms | 448kb | Corect | 10 |
| 3 | 0ms | 460kb | Corect | 10 |
| 4 | 0ms | 468kb | Corect | 10 |
| 5 | 0ms | 480kb | Corect | 10 |
| 6 | 108ms | 2100kb | Corect | 10 |
| 7 | 200ms | 3656kb | Corect | 10 |
| 8 | 40ms | 1256kb | Corect | 10 |
| 9 | 48ms | 1252kb | Corect | 10 |
| 10 | 172ms | 3412kb | Corect | 10 |
| Punctaj total | 100 |