Pagini recente » Borderou de evaluare (job #911546) | Borderou de evaluare (job #503653) | Borderou de evaluare (job #1777666) | Borderou de evaluare (job #1069581) | Borderou de evaluare (job #2099258)
Borderou de evaluare (job #2099258)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int, int)’:
user.cpp:10:29: 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:28:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&d[i],&c[i]);
^
user.cpp:28:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in","r",stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out","w",stdout);
^
user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&p,&k);
^
user.cpp:28:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&d[i],&c[i]);
^
user.cpp:31: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 | 12ms | Depăşit | Memory limit exceeded. | 0 |
2 | 0ms | 268kb | OK | 10 |
3 | Depăşit | 368kb | Time limit exceeded. | 0 |
4 | Depăşit | 368kb | Time limit exceeded. | 0 |
5 | 8ms | 292kb | OK | 10 |
6 | 0ms | 268kb | Incorect | 0 |
7 | 12ms | Depăşit | Memory limit exceeded. | 0 |
8 | 0ms | 268kb | Incorect | 0 |
9 | 20ms | Depăşit | Memory limit exceeded. | 0 |
10 | 24ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 20 |