Pagini recente » Borderou de evaluare (job #1729995) | Borderou de evaluare (job #205447) | Borderou de evaluare (job #1715422) | Borderou de evaluare (job #1749072) | Borderou de evaluare (job #1351302)
Borderou de evaluare (job #1351302)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:51: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
fprintf(OUT, "%ld\n", putere(nr_par)-1);
^
user.cpp:46:53: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
fprintf(OUT, "%ld\n", putere(nr_impar)-1);
^
user.cpp:48:85: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
fprintf(OUT, "%ld\n", (putere(nr_impar-1) * putere(nr_par) - 1)%MODULO );
^
user.cpp:26:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN, "%d", &t);
^
user.cpp:32:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN, "%d", &n);
^
user.cpp:36:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN, "%d", &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 244ms | 268kb | Incorect | 0 |
Punctaj total | 0 |