Pagini recente » Borderou de evaluare (job #189630) | Borderou de evaluare (job #2920677) | Borderou de evaluare (job #639707) | Borderou de evaluare (job #3184972) | Borderou de evaluare (job #1969884)
Borderou de evaluare (job #1969884)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30: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:31: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:33:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(A);
^
user.cpp:37:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &nc);
^
user.cpp:39:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(B);
^
user.cpp:45:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:50: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:54: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:65: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/ccFyKzOf.o: In function `main':
user.cpp:(.text.startup+0x59): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 464kb | OK | 10 |
2 | 12ms | 464kb | OK | 10 |
3 | Depăşit | 540kb | Time limit exceeded. | 0 |
4 | 1448ms | 532kb | OK | 10 |
5 | 1360ms | 524kb | OK | 10 |
6 | 1312ms | 528kb | OK | 10 |
7 | 1296ms | 532kb | OK | 10 |
8 | 1452ms | 536kb | OK | 10 |
9 | 1312ms | 536kb | OK | 10 |
10 | 1016ms | 548kb | OK | 10 |
Punctaj total | 90 |