Pagini recente » Borderou de evaluare (job #2124693) | Borderou de evaluare (job #1873495) | Borderou de evaluare (job #65721) | Borderou de evaluare (job #2989453) | Borderou de evaluare (job #1969868)
Borderou de evaluare (job #1969868)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir8.in", "r", stdin);
^
user.cpp:33:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir8.out", "w", stdout);
^
user.cpp:35:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(A);
^
user.cpp:39:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &nc);
^
user.cpp:41:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(B);
^
user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:52:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &opType, &poz);
^
user.cpp:56:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c%d%d", &ch, &a, &b);
^
user.cpp:67:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &idx, &a, &b);
^
/tmp/ccapEmDt.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 40ms | 10596kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 12ms | 484kb | OK | 10 |
3 | Depăşit | 540kb | Time limit exceeded. | 0 |
4 | 1464ms | 536kb | OK | 10 |
5 | 1364ms | 536kb | OK | 10 |
6 | 1320ms | 540kb | OK | 10 |
7 | 1308ms | 552kb | OK | 10 |
8 | 1464ms | 548kb | OK | 10 |
9 | 1316ms | 548kb | OK | 10 |
10 | 1008ms | 552kb | OK | 10 |
Punctaj total | 80 |