Pagini recente » Borderou de evaluare (job #1012649) | Borderou de evaluare (job #1127511) | Borderou de evaluare (job #1057428) | Borderou de evaluare (job #1323697) | Borderou de evaluare (job #1440511)
Borderou de evaluare (job #1440511)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(char*, int)’:
user.cpp:16:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
B[++B[0]] = val % 10;
^
user.cpp: In function ‘int main()’:
user.cpp:29:18: warning: unused variable ‘poz’ [-Wunused-variable]
int n, k, T, poz;
^
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parola.in", "r", stdin);
^
user.cpp:28:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parola.out", "w", stdout);
^
user.cpp:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:33:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:34:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 14884kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |