Pagini recente » Cod sursa (job #417554) | Diferente pentru admin/task-ratings-guidelines intre reviziile 9 si 8 | Diferente pentru problema/sumzero intre reviziile 18 si 1 | Borderou de evaluare (job #2509432) | Borderou de evaluare (job #2612279)
Borderou de evaluare (job #2612279)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:28:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'int calc_diametru()':
main.cpp:66:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[u].size(); i++)
~^~~~~~~~~~~~
main.cpp:87:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[u].size(); i++)
~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:166:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(s.size()>=n-1){
~~~~~~~~^~~~~
main.cpp:168:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(s.size()==n){
~~~~~~~~^~~
main.cpp:104:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("maxdist.in", "r", stdin);
^
main.cpp:105:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("maxdist.out", "w", stdout);
^
main.cpp:107:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
main.cpp:109:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
main.cpp:126:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &st);
^
main.cpp:131:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 7ms | 2621kb | OK | 5 |
| 2 | 8ms | 2621kb | OK | 5 |
| 3 | 10ms | 2752kb | OK | 5 |
| 4 | 10ms | 2752kb | OK | 5 |
| 5 | 336ms | 27787kb | OK | 5 |
| 6 | 362ms | 27000kb | OK | 5 |
| 7 | 438ms | 27656kb | OK | 5 |
| 8 | 433ms | 32112kb | OK | 5 |
| 9 | 468ms | 28835kb | OK | 5 |
| 10 | 311ms | 26738kb | OK | 5 |
| 11 | 552ms | 31064kb | OK | 5 |
| 12 | 464ms | 28180kb | OK | 5 |
| 13 | 586ms | 29229kb | OK | 5 |
| 14 | 645ms | 41943kb | Incorect | 0 |
| 15 | 524ms | 48234kb | Killed by Signal 11 | 0 |
| 16 | 831ms | 51249kb | Incorect | 0 |
| 17 | 1090ms | 54001kb | Incorect | 0 |
| 18 | 882ms | 51642kb | Incorect | 0 |
| 19 | 642ms | 49545kb | Killed by Signal 11 | 0 |
| 20 | 870ms | 60948kb | Incorect | 0 |
| Punctaj total | 65 |