Pagini recente » Borderou de evaluare (job #2140350) | Borderou de evaluare (job #1414803) | Borderou de evaluare (job #2713973) | Borderou de evaluare (job #2408970) | Borderou de evaluare (job #1903269)
Borderou de evaluare (job #1903269)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d\n", &k);
^
user.cpp:39:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size() && bestx1 == -1; ++i) {
^
user.cpp:62:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < t.size() && bestx2 == -1; ++i) {
^
user.cpp:88:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d\n", bestx2, besty2);
^
user.cpp:88:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:92:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d\n", bestx1, besty1);
^
user.cpp:92:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:95:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d\n", bestx1, besty1);
^
user.cpp:95:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:97:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d\n", bestx2, besty2);
^
user.cpp:97:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("licenta.in", "r", stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("licenta.out", "w", stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &k);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%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 %d\n", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 252kb | Incorect | 0 |
2 | 4ms | 252kb | Incorect | 0 |
3 | 0ms | 252kb | Incorect | 0 |
4 | 4ms | 248kb | Incorect | 0 |
5 | 8ms | 248kb | Incorect | 0 |
6 | 84ms | 248kb | Incorect | 0 |
7 | 112ms | 248kb | Incorect | 0 |
8 | 112ms | 248kb | Incorect | 0 |
9 | 112ms | 248kb | Incorect | 0 |
10 | 112ms | 244kb | Incorect | 0 |
Punctaj total | 0 |