Pagini recente » Borderou de evaluare (job #28307) | Borderou de evaluare (job #825608) | Borderou de evaluare (job #2981000) | Borderou de evaluare (job #2789125) | Borderou de evaluare (job #1891303)
Borderou de evaluare (job #1891303)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:48:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<v[nod].size(); j++)
^
user.cpp:63:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", cost[n]);
^
user.cpp:38:10: warning: unused variable ‘i’ [-Wunused-variable]
long i, j, nod, poz;
^
user.cpp: In function ‘void afis(std::queue<long int>)’:
user.cpp:80:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ", coada.front());
^
user.cpp: In function ‘void request()’:
user.cpp:95:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < v[nod].size(); i++) {
^
user.cpp:105:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", maxi);
^
user.cpp: In function ‘int main()’:
user.cpp:112:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d %d", &cerinta, &n, &m);
^
user.cpp:112:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:112:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:113:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
for(i=1; i<=n; i++) scanf("%d", &dragon[i]);
^
user.cpp:116:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d", &e[i].a, &e[i].b, &e[i].c);
^
user.cpp:116:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:116:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:110:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragoni.in", "r", stdin);
^
user.cpp:111:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragoni.out", "w", stdout);
^
user.cpp:112:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &cerinta, &n, &m);
^
user.cpp:113:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; i++) scanf("%d", &dragon[i]);
^
user.cpp:116:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &e[i].a, &e[i].b, &e[i].c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | Raspuns gresit! | 0 |
2 | 0ms | 308kb | Raspuns gresit! | 0 |
3 | 0ms | 312kb | Raspuns gresit! | 0 |
4 | 0ms | 312kb | Corect! | 2 |
5 | 0ms | 324kb | Raspuns gresit! | 0 |
6 | 0ms | 340kb | Raspuns gresit! | 0 |
7 | 4ms | 460kb | Raspuns gresit! | 0 |
8 | 4ms | 492kb | Raspuns gresit! | 0 |
9 | 4ms | 532kb | Raspuns gresit! | 0 |
10 | 4ms | 528kb | Raspuns gresit! | 0 |
11 | 0ms | 276kb | Fisier de iesire incomplet! | 0 |
12 | 0ms | 288kb | Fisier de iesire incomplet! | 0 |
13 | 0ms | 288kb | Fisier de iesire incomplet! | 0 |
14 | 0ms | 296kb | Fisier de iesire incomplet! | 0 |
15 | 0ms | 296kb | Fisier de iesire incomplet! | 0 |
16 | 0ms | 312kb | Fisier de iesire incomplet! | 0 |
17 | 4ms | 436kb | Fisier de iesire incomplet! | 0 |
18 | 4ms | 476kb | Fisier de iesire incomplet! | 0 |
19 | 4ms | 508kb | Fisier de iesire incomplet! | 0 |
20 | 4ms | 512kb | Fisier de iesire incomplet! | 0 |
Punctaj total | 2 |