Pagini recente » Borderou de evaluare (job #143574) | Borderou de evaluare (job #2828053) | Borderou de evaluare (job #418898) | Borderou de evaluare (job #1406847) | Borderou de evaluare (job #1439267)
Borderou de evaluare (job #1439267)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d", A[i]);
^
user.cpp:28:9: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp:30:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in", "r", stdin);
^
user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.out", "w", stdout);
^
user.cpp:35:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", A[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |