Pagini recente » Borderou de evaluare (job #1779978) | Borderou de evaluare (job #2769175) | Borderou de evaluare (job #2962494) | Borderou de evaluare (job #2117047) | Borderou de evaluare (job #2091904)
Borderou de evaluare (job #2091904)
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 | 448kb | Ok! | 10 |
2 | 0ms | 444kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 436kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 444kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 440kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 436kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 440kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 440kb | 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 | 10 |