Pagini recente » Borderou de evaluare (job #2441240) | Borderou de evaluare (job #2195933) | Borderou de evaluare (job #1413943) | Borderou de evaluare (job #3198230) | Borderou de evaluare (job #1351164)
Borderou de evaluare (job #1351164)
Raport evaluator
Compilare:
user.cpp: In function ‘int64 logarithmicExponential(int64, int64, int)’:
user.cpp:19:8: warning: unused variable ‘p’ [-Wunused-variable]
int64 p = k;
^
user.cpp: In function ‘int main()’:
user.cpp:98:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int64 {aka long long unsigned int}’ [-Wformat=]
printf("%d\n", res-1);
^
user.cpp:72: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:73: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:75:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:80:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:87:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 248ms | 260kb | Incorect | 0 |
Punctaj total | 0 |