Pagini recente » Borderou de evaluare (job #1015871) | Borderou de evaluare (job #1212947) | Borderou de evaluare (job #389887) | Borderou de evaluare (job #1344690) | Borderou de evaluare (job #2238657)
Borderou de evaluare (job #2238657)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&a[i][j][1]);
^
user.cpp:51:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",sum);
^
user.cpp:11: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:12: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:13:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld",&m,&n,&k);
^
user.cpp:17:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&a[i][j][1]);
^
user.cpp:27:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld%ld",&x1,&y1,&x2,&y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1356kb | OK | 10 |
2 | 0ms | 1404kb | OK | 10 |
3 | 0ms | 1400kb | OK | 10 |
4 | 0ms | 1408kb | OK | 10 |
5 | 0ms | 1448kb | OK | 10 |
6 | 0ms | 1440kb | OK | 10 |
7 | 0ms | 1456kb | Incorect | 0 |
8 | 0ms | 1716kb | OK | 10 |
9 | 0ms | 1568kb | OK | 10 |
10 | 0ms | 1608kb | OK | 10 |
Punctaj total | 90 |