Pagini recente » Borderou de evaluare (job #350006) | Borderou de evaluare (job #1219425) | Borderou de evaluare (job #1313073) | Borderou de evaluare (job #2143224) | Borderou de evaluare (job #1360348)
Borderou de evaluare (job #1360348)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:26: warning: writing into constant object (argument 2) [-Wformat=]
scanf("%ld","%ld", &a, &b);
^
user.cpp:38:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘const char*’ [-Wformat=]
user.cpp:38:26: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:54:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int*’ [-Wformat=]
printf("%ld", i+a);
^
user.cpp:56:31: warning: too many arguments for format [-Wformat-extra-args]
printf("\n", "%ld", imax, "\n");
^
user.cpp:35:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.in", "r", stdin);
^
user.cpp:36:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.out", "w", stdout);
^
user.cpp:38:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld","%ld", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 152kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 156kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 160kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 160kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 156kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 0ms | 152kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 156kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 152kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 0ms | 156kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 152kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |