Pagini recente » Borderou de evaluare (job #1335099) | Borderou de evaluare (job #1156729) | Borderou de evaluare (job #2454577) | Borderou de evaluare (job #841819) | Borderou de evaluare (job #1635813)
Borderou de evaluare (job #1635813)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:19:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=]
scanf("%d",&b[x][y]);
^
user.cpp:63:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%d %d\n",nrperm,minim);
^
user.cpp:63:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
user.cpp:65:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%d ",b[1][x]);
^
user.cpp:68:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%d ",b[2][x]);
^
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biperm.in","r",stdin);
^
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biperm.out","w",stdout);
^
user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:19:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b[x][y]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | Cerinta 1 corecta | 3 |
2 | 0ms | 460kb | Corect | 10 |
3 | 0ms | 468kb | Cerinta 1 corecta | 3 |
4 | 0ms | 472kb | Incorect | 0 |
5 | 0ms | 548kb | Cerinta 1 corecta | 3 |
6 | 0ms | 644kb | Incorect | 0 |
7 | 0ms | 740kb | Cerinta 1 corecta | 3 |
8 | 0ms | 840kb | Incorect | 0 |
9 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 440kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 22 |