Pagini recente » Borderou de evaluare (job #2173711) | Borderou de evaluare (job #2832976) | Borderou de evaluare (job #1559483) | Borderou de evaluare (job #2659955) | Borderou de evaluare (job #1216889)
Borderou de evaluare (job #1216889)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs()’:
user.cpp:34:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<v[nod].size(); ++j)
^
user.cpp: In function ‘int main()’:
user.cpp:65:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d",&n, &p, &k);
^
user.cpp:65:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:65:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:75:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&t[i], &c[i]);
^
user.cpp:75:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:61: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:62: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:65:31: 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:75:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&t[i], &c[i]);
^
user.cpp:78: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 | 296kb | Incorect | 0 |
2 | 0ms | 288kb | OK | 10 |
3 | 8ms | 320kb | Incorect | 0 |
4 | 0ms | 296kb | Incorect | 0 |
5 | 8ms | 320kb | OK | 10 |
6 | 0ms | 292kb | Incorect | 0 |
7 | 0ms | 296kb | Incorect | 0 |
8 | 0ms | 292kb | Incorect | 0 |
9 | 0ms | 320kb | Incorect | 0 |
10 | 8ms | 332kb | Incorect | 0 |
Punctaj total | 20 |