Pagini recente » Borderou de evaluare (job #2072303) | Borderou de evaluare (job #2076879) | Borderou de evaluare (job #1884263)
Borderou de evaluare (job #1884263)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &n, &t);
^
user.cpp:33:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:35:22: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld", &s[i]);
^
user.cpp:39:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &k, &x);
^
user.cpp:39:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:43:34: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld\n", trei(x, k, n));
^
user.cpp:32:24: warning: unused variable ‘j’ [-Wunused-variable]
long long n, t, k, i, j, x;
^
user.cpp:30:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.in", "r", stdin);
^
user.cpp:31:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.out", "w", stdout);
^
user.cpp:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &t);
^
user.cpp:35:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &s[i]);
^
user.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &k, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | Incorect | 0 |
2 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 4ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 8ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 8ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |