Pagini recente » Borderou de evaluare (job #1510547) | Borderou de evaluare (job #94220) | Borderou de evaluare (job #1707505) | Borderou de evaluare (job #3204082) | Borderou de evaluare (job #1344333)
Borderou de evaluare (job #1344333)
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 ‘void computeAllFactorials()’:
user.cpp:74:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i<n; i++)
^
user.cpp: In function ‘int64 computeFactorial(int, int, int64)’:
user.cpp:87:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int64 i=start+1; i<=stop; i++)
^
user.cpp: In function ‘int main()’:
user.cpp:108:21: warning: unused variable ‘kFact2’ [-Wunused-variable]
int64 kFact1 = 0, kFact2 = 0, kFact = 0;
^
user.cpp:98: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:99: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:103:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:109:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu %llu", &n, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 544ms | 4188kb | Incorect | 0 |
Punctaj total | 0 |