Pagini recente » Cod sursa (job #1800304) | Monitorul de evaluare | Borderou de evaluare (job #1781709) | Borderou de evaluare (job #2515764) | Borderou de evaluare (job #1459342)
Borderou de evaluare (job #1459342)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:108: warning: operation on ‘D[j]’ may be undefined [-Wsequence-point]
D[j] = (sir[i-1] == '>') ? D[j] = prec[dpPrev[i-1] - dpPrev[j-1] + MOD] : prec[dpPrev[j-1]];
^
user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("doipe.in","r",stdin);
^
user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("doipe.out","w",stdout);
^
user.cpp:25:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &T); T ; --T)
^
user.cpp:27:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n); gets(sir + 1);
^
user.cpp:27:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n); gets(sir + 1);
^
/tmp/ccyfbacW.o: In function `main':
user.cpp:(.text.startup+0xd0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 512kb | OK | 5 |
2 | 0ms | 508kb | OK | 5 |
3 | 0ms | 516kb | OK | 5 |
4 | 0ms | 512kb | OK | 5 |
5 | 0ms | 508kb | OK | 5 |
6 | 0ms | 516kb | OK | 5 |
7 | 0ms | 508kb | OK | 5 |
8 | 0ms | 512kb | OK | 5 |
9 | 0ms | 512kb | OK | 5 |
10 | 0ms | 512kb | OK | 5 |
11 | 0ms | 512kb | OK | 5 |
12 | 0ms | 508kb | OK | 5 |
13 | 4ms | 524kb | OK | 5 |
14 | 8ms | 524kb | OK | 5 |
15 | 256ms | 520kb | OK | 5 |
16 | 420ms | 520kb | OK | 5 |
17 | 516ms | 520kb | OK | 5 |
18 | Depăşit | 524kb | Time limit exceeded. | 0 |
19 | Depăşit | 516kb | Time limit exceeded. | 0 |
20 | Depăşit | 512kb | Time limit exceeded. | 0 |
Punctaj total | 85 |