Pagini recente » Cod sursa (job #905606) | Cod sursa (job #1800128) | Borderou de evaluare (job #2078146) | Cod sursa (job #352311) | Borderou de evaluare (job #1617259)
Borderou de evaluare (job #1617259)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘std::string* {aka std::basic_string<char>*}’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:29:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘std::string* {aka std::basic_string<char>*}’ [-Wformat=]
printf("%s", &s);
^
user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carry.in", "r", stdin);
^
user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carry.out", "w", stdout);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
11 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
12 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
13 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |