Pagini recente » Cod sursa (job #2238121) | Borderou de evaluare (job #1537256) | Borderou de evaluare (job #3180418) | Borderou de evaluare (job #2781584) | Borderou de evaluare (job #1304681)
Borderou de evaluare (job #1304681)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int, int)’:
user.cpp:28:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(h[poz[*it]].size()>maxx)
^
user.cpp: In function ‘int main()’:
user.cpp:62:36: 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:63:38: 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:65: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:68:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:72:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&cul[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 68ms | 19828kb | OK | 10 |
| 2 | 72ms | 19912kb | OK | 10 |
| 3 | 92ms | 20828kb | OK | 10 |
| 4 | 84ms | 20292kb | OK | 10 |
| 5 | 232ms | 25560kb | OK | 10 |
| 6 | 292ms | 27700kb | OK | 10 |
| 7 | 568ms | 35048kb | OK | 10 |
| 8 | 652ms | 38164kb | OK | 10 |
| 9 | 772ms | 40572kb | OK | 10 |
| 10 | 768ms | 40400kb | OK | 10 |
| Punctaj total | 100 |