Pagini recente » Borderou de evaluare (job #2589336) | Borderou de evaluare (job #2944104) | template/algoritmiada-2017/header | Borderou de evaluare (job #2876745) | Borderou de evaluare (job #2091906)
Borderou de evaluare (job #2091906)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:85:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",nr + numitor_0 * (numitor_0 - 1) / 2);
^
user.cpp: In function ‘void read()’:
user.cpp:90:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:94:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d\n", &vec[i].x, &vec[i].y);
^
user.cpp:94:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:90:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:94:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &vec[i].x, &vec[i].y);
^
user.cpp: In function ‘int main()’:
user.cpp:102:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.in","r",stdin);
^
user.cpp:103:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | Ok! | 10 |
| 2 | 352ms | 8252kb | Ok! | 10 |
| 3 | 0ms | 524kb | Ok! | 10 |
| 4 | 320ms | 8252kb | Ok! | 10 |
| 5 | 0ms | 524kb | Ok! | 10 |
| 6 | 4ms | 612kb | Ok! | 10 |
| 7 | 344ms | 8252kb | Ok! | 10 |
| 8 | 72ms | 2392kb | Ok! | 10 |
| 9 | 320ms | 8256kb | Ok! | 10 |
| 10 | 328ms | 8052kb | Ok! | 10 |
| Punctaj total | 100 |