Pagini recente » Borderou de evaluare (job #1585127) | Borderou de evaluare (job #1301475) | Borderou de evaluare (job #1756704) | Borderou de evaluare (job #2261933) | Borderou de evaluare (job #1266829)
Borderou de evaluare (job #1266829)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:17:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<adj[u].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:52:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amici2.in","r",stdin);
^
user.cpp:53:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amici2.out","w",stdout);
^
user.cpp:55:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&test);
^
user.cpp:59:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:63:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&u,&v);
^
user.cpp:77:13: warning: ‘res’ may be used uninitialized in this function [-Wmaybe-uninitialized]
d[i]=res;
^
user.cpp:82:13: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized]
bfs(start);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 100ms | 972kb | Corect! | 10 |
2 | Depăşit | 984kb | Time limit exceeded. | 0 |
3 | Depăşit | 980kb | Time limit exceeded. | 0 |
4 | Depăşit | 1024kb | Time limit exceeded. | 0 |
5 | 60ms | 1484kb | Incorect | 0 |
6 | 76ms | 1652kb | Incorect | 0 |
7 | 72ms | 1588kb | Incorect | 0 |
8 | 92ms | 1772kb | Incorect | 0 |
9 | 88ms | 1748kb | Incorect | 0 |
10 | 116ms | 1940kb | Incorect | 0 |
Punctaj total | 10 |