Pagini recente » Borderou de evaluare (job #2898705) | Borderou de evaluare (job #1863951) | Borderou de evaluare (job #2517341) | Borderou de evaluare (job #1052536) | Borderou de evaluare (job #1798772)
Borderou de evaluare (job #1798772)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d", &a[i]);
^
user.cpp:20:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d", &b[i]);
^
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interclasare.in", "r", stdin);
^
user.cpp:13:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interclasare.out", "w", stdout);
^
user.cpp:15:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:17:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:18:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b[i]);
^
user.cpp: In function ‘void scmax(short int*, int, short int*)’:
user.cpp:79:20: warning: ‘elem’ may be used uninitialized in this function [-Wmaybe-uninitialized]
poz[i] = elem+1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 344kb | Sirul nu e obtinut prin interclasare! | 4 |
3 | 0ms | 316kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 328kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 328kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 4ms | 348kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 4ms | 344kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 356kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 352kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 4 |