Pagini recente » Borderou de evaluare (job #1050442) | Borderou de evaluare (job #2612634) | Borderou de evaluare (job #728703) | Borderou de evaluare (job #2481729) | Borderou de evaluare (job #1443770)
Borderou de evaluare (job #1443770)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int64 {aka long long unsigned int}’ [-Wformat=]
printf("%d\n", nrPasswords);
^
user.cpp:17:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN_FILE_NAME, "r", stdin);
^
user.cpp:18:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT_FILE_NAME, "w", stdout);
^
user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:24:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", line);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 432ms | 5448kb | Incorect | 0 |
Punctaj total | 0 |