Pagini recente » Borderou de evaluare (job #1834220) | Borderou de evaluare (job #625575) | Borderou de evaluare (job #503980) | Borderou de evaluare (job #483154) | Borderou de evaluare (job #1528734)
Borderou de evaluare (job #1528734)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:60:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d %s\n", currentlength, that);
^
user.cpp:79:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<act->where.size();++i)
^
user.cpp:48:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in", "r", stdin);
^
user.cpp:49:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out", "w", stdout);
^
user.cpp:55:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %s\n", &N, &numWords, S);
^
user.cpp:60:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %s\n", currentlength, that);
^
user.cpp:60:46: warning: ‘currentlength’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 484kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 508kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 488kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 512kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 468kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 508kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 508kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 460kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 420kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |