Pagini recente » Borderou de evaluare (job #1534307) | Borderou de evaluare (job #1038143) | Borderou de evaluare (job #319493) | Cod sursa (job #789955) | Borderou de evaluare (job #1752163)
Borderou de evaluare (job #1752163)
Raport evaluator
Compilare:
user.cpp: In function ‘void rm_edge(int, int)’:
user.cpp:65:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < list[s].size(); i++) {
^
user.cpp: In function ‘void solve(std::vector<int>)’:
user.cpp:89:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int main()’:
user.cpp:120:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kdist.in","r",stdin);
^
user.cpp:121:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kdist.out","w",stdout);
^
user.cpp:123:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:125:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:131:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &col[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2808kb | OK | 10 |
| 2 | 4ms | 2852kb | OK | 10 |
| 3 | 32ms | 3296kb | OK | 10 |
| 4 | 32ms | 3288kb | OK | 10 |
| 5 | 292ms | 5388kb | OK | 10 |
| 6 | 456ms | 6476kb | OK | 10 |
| 7 | Depăşit | 10152kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 10856kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 12360kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 12520kb | Time limit exceeded. | 0 |
| Punctaj total | 60 |