Borderou de evaluare (job #2220033)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f1, "%d%d", &n, &r);
^
user.cpp:45:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:46:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(f2, "%I64d\n", v(n, r));
^
user.cpp:42:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1, "%d", &t);
^
user.cpp:45:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1, "%d%d", &n, &r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 752kb | Time limit exceeded. | 0 |
Punctaj total | 0 |