Pagini recente » Cod sursa (job #899313) | Borderou de evaluare (job #2407195) | Borderou de evaluare (job #2784513) | Borderou de evaluare (job #2169557) | Borderou de evaluare (job #2113348)
Borderou de evaluare (job #2113348)
Raport evaluator
Compilare:
user.cpp: In function ‘int bfs(int)’:
user.cpp:21:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<leg[p].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:37:32: 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:38:34: 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:40:31: 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:44:29: 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 | 1612kb | OK | 10 |
| 2 | 0ms | 1612kb | OK | 10 |
| 3 | 0ms | 1616kb | OK | 10 |
| 4 | 4ms | 1676kb | OK | 10 |
| 5 | 12ms | 1748kb | OK | 10 |
| 6 | 56ms | 2332kb | OK | 10 |
| 7 | 168ms | 3472kb | OK | 10 |
| 8 | 152ms | 3424kb | OK | 10 |
| 9 | 840ms | 9228kb | OK | 10 |
| 10 | 836ms | 9112kb | OK | 10 |
| Punctaj total | 100 |