Pagini recente » Borderou de evaluare (job #109289) | Borderou de evaluare (job #109314) | Borderou de evaluare (job #2329963) | Borderou de evaluare (job #2412359) | Borderou de evaluare (job #2361656)
Borderou de evaluare (job #2361656)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d %d %d", &n, &x, &l);
^
main.cpp:16:33: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:16:33: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:3:11: warning: unused variable 'first' [-Wunused-variable]
#define x first
^
main.cpp:18:13: note: in expansion of macro 'x'
int x,y; scanf("%d %d", &a[i].y, &a[i].x);
^
main.cpp:4:11: warning: unused variable 'second' [-Wunused-variable]
#define y second
^
main.cpp:18:15: note: in expansion of macro 'y'
int x,y; scanf("%d %d", &a[i].y, &a[i].x);
^
main.cpp:4:11: warning: unused variable 'second' [-Wunused-variable]
#define y second
^
main.cpp:30:12: note: in expansion of macro 'y'
ll y=it->y;
^
main.cpp:14:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("lupu.in", "r", stdin);
^
main.cpp:15:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("lupu.out", "w", stdout);
^
main.cpp:16:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &x, &l);
^
main.cpp:18:50: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int x,y; scanf("%d %d", &a[i].y, &a[i].x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 10ms | 131kb | OK | 4 |
| 2 | 2ms | 131kb | OK | 4 |
| 3 | 2ms | 131kb | OK | 4 |
| 4 | 3ms | 262kb | OK | 4 |
| 5 | 3ms | 131kb | OK | 4 |
| 6 | 2ms | 131kb | OK | 4 |
| 7 | 3ms | 131kb | OK | 4 |
| 8 | 3ms | 131kb | OK | 4 |
| 9 | 4ms | 262kb | OK | 4 |
| 10 | 4ms | 262kb | OK | 4 |
| 11 | 5ms | 262kb | OK | 4 |
| 12 | 17ms | 786kb | OK | 4 |
| 13 | 152ms | 7340kb | Time limit exceeded | 0 |
| 14 | 129ms | 5505kb | OK | 4 |
| 15 | 55ms | 3014kb | OK | 4 |
| 16 | 113ms | 4849kb | OK | 4 |
| 17 | 135ms | 5636kb | OK | 4 |
| 18 | 147ms | 6291kb | OK | 4 |
| 19 | 129ms | 6029kb | OK | 4 |
| 20 | 153ms | 7340kb | Time limit exceeded | 0 |
| 21 | 153ms | 7340kb | Time limit exceeded | 0 |
| 22 | 150ms | 7340kb | Time limit exceeded | 0 |
| 23 | 152ms | 7340kb | Time limit exceeded | 0 |
| 24 | 152ms | 7340kb | Time limit exceeded | 0 |
| 25 | 114ms | 5505kb | OK | 4 |
| Punctaj total | 76 |