Pagini recente » Borderou de evaluare (job #1173810) | Borderou de evaluare (job #1878590) | Borderou de evaluare (job #1893167) | Borderou de evaluare (job #2491345) | Borderou de evaluare (job #1351785)
Borderou de evaluare (job #1351785)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f, "%ld%ld\n", &n, &m);
^
user.cpp:12:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:22:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f, "%ld%ld%ld\n", &x, &y, &z);
^
user.cpp:22:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:22:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:33:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f, "%ld\n", &r);
^
user.cpp:35:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g, "%ld\n", k[r]);
^
user.cpp:12:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%ld%ld\n", &n, &m);
^
user.cpp:17:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%c", &c);
^
user.cpp:18:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%c", &c1);
^
user.cpp:22:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%ld%ld%ld\n", &x, &y, &z);
^
user.cpp:33:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%ld\n", &r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1044kb | Time limit exceeded. | 0 |
Punctaj total | 0 |