Pagini recente » Borderou de evaluare (job #2710101) | Borderou de evaluare (job #34865) | Borderou de evaluare (job #1054915) | Borderou de evaluare (job #1976712) | Borderou de evaluare (job #1413011)
Borderou de evaluare (job #1413011)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d\n",&N,&M);
^
user.cpp:23:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:27:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d\n", &coord, &cul);
^
user.cpp:27:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:34:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d %d\n", &OP, &I, &J);
^
user.cpp:34:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:34:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:64:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",Max);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("marbles.in","r",stdin);
^
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("marbles.out","w",stdout);
^
user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&N,&M);
^
user.cpp:27:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &coord, &cul);
^
user.cpp:34:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &OP, &I, &J);
^
user.cpp:38:36: warning: array subscript is below array bounds [-Warray-bounds]
if (poz < 0) swap(b[poz],a[I]);
^
user.cpp:38:36: warning: array subscript is below array bounds [-Warray-bounds]
user.cpp:50:28: warning: array subscript is below array bounds [-Warray-bounds]
if (b[k] != 0)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |