Pagini recente » Borderou de evaluare (job #1707717) | Cod sursa (job #2214655) | Borderou de evaluare (job #2053887) | Borderou de evaluare (job #1423003) | Borderou de evaluare (job #1264982)
Borderou de evaluare (job #1264982)
Raport evaluator
Compilare:
user.cpp: In function ‘int bfs(int)’:
user.cpp:17:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<g[nod].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:34:9: warning: unused variable ‘m’ [-Wunused-variable]
int m=0, i, j, x, y, Max=0;
^
user.cpp:34:17: warning: unused variable ‘j’ [-Wunused-variable]
int m=0, i, j, x, y, Max=0;
^
user.cpp:34:26: warning: unused variable ‘Max’ [-Wunused-variable]
int m=0, i, j, x, y, Max=0;
^
user.cpp:35:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.in","r",stdin);
^
user.cpp:36:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.out","w",stdout);
^
user.cpp:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:40: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 | 2316kb | OK | 10 |
2 | 0ms | 2316kb | OK | 10 |
3 | 0ms | 2312kb | OK | 10 |
4 | 4ms | 2336kb | OK | 10 |
5 | 8ms | 2512kb | OK | 10 |
6 | 36ms | 3004kb | OK | 10 |
7 | 56ms | 3296kb | OK | 10 |
8 | 92ms | 3812kb | OK | 10 |
9 | 76ms | 3756kb | OK | 10 |
10 | 120ms | 4272kb | OK | 10 |
Punctaj total | 100 |