Pagini recente » Borderou de evaluare (job #2167972) | Borderou de evaluare (job #1123099) | Borderou de evaluare (job #1297824) | Borderou de evaluare (job #2569874) | Borderou de evaluare (job #1502515)
Borderou de evaluare (job #1502515)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:18: 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:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in","r",stdin);
^
user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out","w",stdout);
^
user.cpp:17:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i",&n,&b);
^
user.cpp:19:19: 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 | 396kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |