Pagini recente » Borderou de evaluare (job #3004672) | Borderou de evaluare (job #2161656) | Borderou de evaluare (job #2353353) | Borderou de evaluare (job #867162) | Borderou de evaluare (job #1343570)
Borderou de evaluare (job #1343570)
Raport evaluator
Compilare:
user.cpp: In function ‘ull cabana(ull, ull, ull)’:
user.cpp:55:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = c + 1; i <= p; ++i) {
^
user.cpp: In function ‘int main(int, char**)’:
user.cpp:72:49: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘ull {aka long long unsigned int}’ [-Wformat=]
fprintf(o, "%ull\n",cabana(N, K, 1000000007ll));
^
user.cpp:66:7: warning: unused variable ‘line’ [-Wunused-variable]
char line[100];
^
user.cpp:67:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(i, "%d\n",&T);
^
user.cpp:71:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(i, "%d %d\n", &N, &K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 624kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 0 |