Pagini recente » Borderou de evaluare (job #785063) | Borderou de evaluare (job #2690141) | Borderou de evaluare (job #2055355) | Borderou de evaluare (job #2569052) | Borderou de evaluare (job #1440864)
Borderou de evaluare (job #1440864)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d", nr);
^
user.cpp:14:18: warning: unused variable ‘poz’ [-Wunused-variable]
int n, k, T, poz;
^
user.cpp:12: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:13: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:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:18: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:19: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 | 12ms | 5112kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |