Pagini recente » Borderou de evaluare (job #786914) | Borderou de evaluare (job #2664710) | Borderou de evaluare (job #1071133) | Borderou de evaluare (job #1888671) | Borderou de evaluare (job #885168)
Borderou de evaluare (job #885168)
Raport evaluator
Compilare:
user.cpp: In function ‘void BF()’:
user.cpp:29:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short i = 0; i < G[node].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:53:33: 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:53:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:53:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:55:36: 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:55:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:58:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d", &X, &Y);
^
user.cpp:58:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:49:36: 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:50:38: 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:53:34: 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:55:37: 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:58:31: 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 | 292kb | Incorect | 0 |
2 | 0ms | 296kb | OK | 10 |
3 | 8ms | 284kb | Incorect | 0 |
4 | 0ms | 292kb | Incorect | 0 |
5 | 8ms | 288kb | OK | 10 |
6 | 0ms | 292kb | Incorect | 0 |
7 | 0ms | 288kb | Incorect | 0 |
8 | 0ms | 296kb | Incorect | 0 |
9 | 0ms | 292kb | Incorect | 0 |
10 | 12ms | 292kb | Incorect | 0 |
Punctaj total | 20 |