Pagini recente » Borderou de evaluare (job #1022167) | Borderou de evaluare (job #1573979) | Borderou de evaluare (job #2404197) | Borderou de evaluare (job #328534) | Borderou de evaluare (job #2091898)
Borderou de evaluare (job #2091898)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:69: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:74:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:78: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:78:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:74:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:78: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:86: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:87: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 | 452kb | Wrong answer! | 0 |
2 | 0ms | 440kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 448kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 428kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 440kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 440kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |