Pagini recente » Borderou de evaluare (job #2087666) | Borderou de evaluare (job #2790368) | Borderou de evaluare (job #827614) | Borderou de evaluare (job #2039546) | Borderou de evaluare (job #1969852)
Borderou de evaluare (job #1969852)
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/ccHbTyPd.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 | 36ms | 476kb | OK | 10 |
| 2 | 12ms | 480kb | OK | 10 |
| 3 | Depăşit | 548kb | Time limit exceeded. | 0 |
| 4 | 1708ms | 540kb | OK | 10 |
| 5 | 1576ms | 540kb | OK | 10 |
| 6 | 1540ms | 540kb | OK | 10 |
| 7 | 1528ms | 548kb | OK | 10 |
| 8 | 1696ms | 552kb | OK | 10 |
| 9 | 1524ms | 544kb | OK | 10 |
| 10 | 1180ms | 560kb | OK | 10 |
| Punctaj total | 90 |