Pagini recente » Borderou de evaluare (job #2597616) | Borderou de evaluare (job #1691194) | Borderou de evaluare (job #2322120) | Borderou de evaluare (job #2389767) | Borderou de evaluare (job #1632718)
Borderou de evaluare (job #1632718)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:17: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld", &T);
^
user.cpp:29:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n", result);
^
user.cpp: In function ‘int solve()’:
user.cpp:70:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld %ld", &n, &m, &k);
^
user.cpp:70:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:70:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:76:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld", &(v[i][j]));
^
user.cpp: In function ‘int main()’:
user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unlock.in", "rt", stdin);
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unlock.out", "wt", stdout);
^
user.cpp:26:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &T);
^
user.cpp: In function ‘int solve()’:
user.cpp:70:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld", &n, &m, &k);
^
user.cpp:76:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &(v[i][j]));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 744kb | Time limit exceeded. | 0 |
Punctaj total | 0 |