Pagini recente » Borderou de evaluare (job #3008973) | Borderou de evaluare (job #185829) | Cod sursa (job #972425) | Borderou de evaluare (job #2078690) | Borderou de evaluare (job #1808322)
Borderou de evaluare (job #1808322)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:11:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[x].size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:27:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.in","r",stdin);
^
user.cpp:28:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.out","w",stdout);
^
user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&s);
^
user.cpp:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1440kb | OK | 10 |
| 2 | 0ms | 1444kb | OK | 10 |
| 3 | 0ms | 1444kb | OK | 10 |
| 4 | 4ms | 1504kb | OK | 10 |
| 5 | 12ms | 1576kb | OK | 10 |
| 6 | 56ms | 2184kb | OK | 10 |
| 7 | 168ms | 3360kb | OK | 10 |
| 8 | 144ms | 3348kb | OK | 10 |
| 9 | 808ms | 9164kb | OK | 10 |
| 10 | 828ms | 9140kb | OK | 10 |
| Punctaj total | 100 |