Pagini recente » Borderou de evaluare (job #1400631) | Borderou de evaluare (job #3184123) | Borderou de evaluare (job #2726136) | Borderou de evaluare (job #2173548) | Borderou de evaluare (job #1440868)
Borderou de evaluare (job #1440868)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33: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 | 504ms | 5132kb | Incorect | 0 |
Punctaj total | 0 |