Pagini recente » Borderou de evaluare (job #2546330) | Borderou de evaluare (job #2796900) | Borderou de evaluare (job #2184698) | Borderou de evaluare (job #2522401) | Borderou de evaluare (job #1548713)
Borderou de evaluare (job #1548713)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d %d",&m,&n,&k);
^
user.cpp:10:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:10:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:13:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&ma[i][j]);
^
user.cpp:14:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d %d %d",&x1,&y1,&x2,&y2);
^
user.cpp:14:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:14:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:14:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:29:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",sum);
^
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("homm.in","r",stdin);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("homm.out","w",stdout);
^
user.cpp:10:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&m,&n,&k);
^
user.cpp:13:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&ma[i][j]);
^
user.cpp:14:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&x1,&y1,&x2,&y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 336kb | OK | 10 |
2 | 0ms | 392kb | OK | 10 |
3 | 0ms | 396kb | OK | 10 |
4 | 0ms | 412kb | OK | 10 |
5 | 0ms | 484kb | OK | 10 |
6 | 0ms | 480kb | OK | 10 |
7 | 0ms | 524kb | Incorect | 0 |
8 | 0ms | 852kb | OK | 10 |
9 | 0ms | 684kb | OK | 10 |
10 | 0ms | 748kb | OK | 10 |
Punctaj total | 90 |