Pagini recente » Borderou de evaluare (job #1539799) | Borderou de evaluare (job #1700732) | Borderou de evaluare (job #2287812) | Borderou de evaluare (job #845110) | Borderou de evaluare (job #1557914)
Borderou de evaluare (job #1557914)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:30:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d", &v[i].x, &v[i].y);
^
user.cpp:30:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teren2.in", "r", stdin);
^
user.cpp:28:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &d);
^
user.cpp:30:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &v[i].x, &v[i].y);
^
user.cpp: In function ‘void write()’:
user.cpp:71:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teren2.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | Corect! | 10 |
2 | 4ms | 520kb | Gresit! | 0 |
3 | 0ms | 448kb | Corect! | 10 |
4 | 4ms | 492kb | Gresit! | 0 |
5 | 8ms | 564kb | Gresit! | 0 |
6 | 60ms | 1172kb | Gresit! | 0 |
7 | 84ms | 1480kb | Gresit! | 0 |
8 | 0ms | 456kb | Corect! | 10 |
9 | 404ms | 5724kb | Gresit! | 0 |
10 | 408ms | 5720kb | Gresit! | 0 |
Punctaj total | 30 |