Pagini recente » Borderou de evaluare (job #2802966) | Borderou de evaluare (job #1742000) | Borderou de evaluare (job #913978) | Borderou de evaluare (job #1494228) | Borderou de evaluare (job #1734953)
Borderou de evaluare (job #1734953)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:22:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &p);
^
user.cpp:23:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &n, &m);
^
user.cpp:23:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:29:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &tmp1);
^
user.cpp:35:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d %d", &tmp1, &tmp2, &tmp3);
^
user.cpp:35:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:35:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void solve1()’:
user.cpp:91:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", tipuriDragoni[posMax]);
^
user.cpp: In function ‘void solve2()’:
user.cpp:120:23: warning: unused variable ‘tmp1’ [-Wunused-variable]
long long tmp1 = dist[dragon][vecini[insula][i].second];
^
user.cpp:121:23: warning: unused variable ‘tmp2’ [-Wunused-variable]
long long tmp2 = dist[dragon][insula];
^
user.cpp:122:23: warning: unused variable ‘tmp3’ [-Wunused-variable]
long long tmp3 = vecini[insula][i].first;
^
user.cpp:151:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", sol);
^
user.cpp: In function ‘void citire()’:
user.cpp:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tmp1);
^
user.cpp:35:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &tmp1, &tmp2, &tmp3);
^
user.cpp: In function ‘int main()’:
user.cpp:156: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 352kb | Raspuns gresit! | 0 |
2 | Depăşit | 7004kb | Time limit exceeded. | 0 |
3 | 88ms | 1320kb | Raspuns gresit! | 0 |
4 | 0ms | 340kb | Raspuns gresit! | 0 |
5 | 0ms | 348kb | Raspuns gresit! | 0 |
6 | 0ms | 368kb | Raspuns gresit! | 0 |
7 | 16ms | 648kb | Raspuns gresit! | 0 |
8 | 8ms | 576kb | Raspuns gresit! | 0 |
9 | 164ms | 1848kb | Raspuns gresit! | 0 |
10 | 4ms | 604kb | Raspuns gresit! | 0 |
11 | 4ms | 5416kb | Raspuns gresit! | 0 |
12 | 4ms | 5416kb | Raspuns gresit! | 0 |
13 | 4ms | 5424kb | Raspuns gresit! | 0 |
14 | 8ms | 5440kb | Raspuns gresit! | 0 |
15 | 8ms | 5444kb | Raspuns gresit! | 0 |
16 | 8ms | 5456kb | Raspuns gresit! | 0 |
17 | 8ms | 5616kb | Raspuns gresit! | 0 |
18 | 12ms | 5636kb | Raspuns gresit! | 0 |
19 | 12ms | 5696kb | Raspuns gresit! | 0 |
20 | 12ms | 5556kb | Raspuns gresit! | 0 |
Punctaj total | 0 |