Pagini recente » Cod sursa (job #815982) | Borderou de evaluare (job #2971313) | Borderou de evaluare (job #2487317) | Cod sursa (job #1594499) | Borderou de evaluare (job #1488542)
Borderou de evaluare (job #1488542)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:85: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.in","r",stdin),freopen("petrica.out","w",stdout),scanf("%d",&n);
^
user.cpp:7:85: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:7:85: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:9:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",s+i),h[i]=n+1;
^
user.cpp:11:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&j,&k),g[j][w[j]++]=k,g[k][w[k]++]=j;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK! | 10 |
| 2 | 0ms | 280kb | OK! | 10 |
| 3 | 0ms | 312kb | OK! | 10 |
| 4 | 0ms | 344kb | OK! | 10 |
| 5 | 0ms | 376kb | OK! | 10 |
| 6 | 4ms | 420kb | OK! | 10 |
| 7 | 8ms | 504kb | OK! | 10 |
| 8 | 24ms | 572kb | OK! | 10 |
| 9 | 24ms | 548kb | OK! | 10 |
| 10 | 24ms | 572kb | OK! | 10 |
| Punctaj total | 100 |