Pagini recente » Borderou de evaluare (job #1906912) | Borderou de evaluare (job #2984426) | Borderou de evaluare (job #1918417) | Borderou de evaluare (job #1798184) | Borderou de evaluare (job #1400838)
Borderou de evaluare (job #1400838)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&n,&m);
^
user.cpp:14:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:16:47: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
for(j=1;j<=m;j++) scanf("%ld",&a[i][j]);
^
user.cpp:35:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %ld %ld %ld\n",ind,cam,et,nr);
^
user.cpp:35:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:35:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=]
user.cpp:35:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘int’ [-Wformat=]
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc10.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc10.out","w",stdout);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&n,&m);
^
user.cpp:16:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=m;j++) scanf("%ld",&a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 84ms | Depăşit | Memory limit exceeded. | 0 |
2 | 0ms | 512kb | OK | 10 |
3 | 0ms | 800kb | OK | 10 |
4 | 88ms | Depăşit | Memory limit exceeded. | 0 |
5 | 0ms | 516kb | OK | 10 |
6 | 0ms | 516kb | OK | 10 |
7 | 0ms | 588kb | OK | 10 |
8 | 84ms | Depăşit | Memory limit exceeded. | 0 |
9 | 0ms | 796kb | OK | 10 |
10 | 0ms | 804kb | OK | 10 |
Punctaj total | 70 |