Pagini recente » Borderou de evaluare (job #707488) | Borderou de evaluare (job #336532) | Borderou de evaluare (job #2336450) | Borderou de evaluare (job #1898728) | Borderou de evaluare (job #1392296)
Borderou de evaluare (job #1392296)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve()’:
user.cpp:36:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d", &query);
^
user.cpp: In function ‘void Read()’:
user.cpp:20:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S); len = strlen(S);
^
user.cpp: In function ‘void Solve()’:
user.cpp:33:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:36:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d", &query);
^
/tmp/ccdSkOC8.o: In function `Read()':
user.cpp:(.text+0x1c0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 8ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 8ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 8ms | 212kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 8ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |