Pagini recente » Borderou de evaluare (job #2686719) | Borderou de evaluare (job #254941) | Borderou de evaluare (job #1633338) | Borderou de evaluare (job #302040) | Borderou de evaluare (job #1922211)
Borderou de evaluare (job #1922211)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int, int*)’:
user.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<v[x].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:32: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:33: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:34:29: 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:37:28: 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 | 1440kb | OK | 10 |
4 | 4ms | 1504kb | OK | 10 |
5 | 12ms | 1596kb | OK | 10 |
6 | 60ms | 2180kb | OK | 10 |
7 | 176ms | 3120kb | OK | 10 |
8 | 148ms | 3348kb | OK | 10 |
9 | 820ms | 9164kb | OK | 10 |
10 | 812ms | 9140kb | OK | 10 |
Punctaj total | 100 |