Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #1800293) | Monitorul de evaluare | Cod sursa (job #976322) | Borderou de evaluare (job #1605881)
Borderou de evaluare (job #1605881)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d\n", n);
^
user.cpp:16:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d ", &a[i]);
^
user.cpp:17:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[a[i]]=1;
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numere5.in","r",stdin);
^
user.cpp:13:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", n);
^
user.cpp:16:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i]);
^
user.cpp:13:21: warning: ‘n’ is used uninitialized in this function [-Wuninitialized]
scanf("%d\n", n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 2 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 7 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |