Pagini recente » Borderou de evaluare (job #2546402) | Borderou de evaluare (job #1858339) | Borderou de evaluare (job #531061) | Borderou de evaluare (job #570240) | Borderou de evaluare (job #2546102)
Borderou de evaluare (job #2546102)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(calc1<0)calc1+=mod1;if(calc2<0)calc2+=mod2;
^~
main.cpp:36:36: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(calc1<0)calc1+=mod1;if(calc2<0)calc2+=mod2;
^~
main.cpp:17:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,cnt=0;
^
main.cpp:10:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("strmatch.in","r",stdin);
^
main.cpp:11:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("strmatch.out","w",stdout);
^
main.cpp:12:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s1+1,2000005,stdin);
^
main.cpp:13:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s2+1,2000005,stdin);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:12:30:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:13:30:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 2 | 2 |
| 2 | 2ms | 131kb | OK | 2 | 2 |
| 3 | 2ms | 131kb | OK | 2 | 2 |
| 4 | 2ms | 131kb | OK | 2 | 2 |
| 5 | 2ms | 131kb | OK | 2 | 2 |
| 6 | 2ms | 131kb | OK | 2 | 2 |
| 7 | 2ms | 131kb | OK | 2 | 2 |
| 8 | 2ms | 131kb | OK | 2 | 2 |
| 9 | 2ms | 131kb | OK | 2 | 2 |
| 10 | 2ms | 131kb | OK | 2 | 2 |
| 11 | 2ms | 131kb | OK | 2 | 2 |
| 12 | 2ms | 131kb | OK | 2 | 2 |
| 13 | 3ms | 131kb | OK | 2 | 2 |
| 14 | 2ms | 131kb | OK | 2 | 2 |
| 15 | 2ms | 131kb | OK | 2 | 2 |
| 16 | 2ms | 131kb | OK | 2 | 2 |
| 17 | 2ms | 131kb | OK | 2 | 2 |
| 18 | 2ms | 131kb | OK | 2 | 2 |
| 19 | 2ms | 131kb | OK | 2 | 2 |
| 20 | 2ms | 131kb | OK | 2 | 2 |
| 21 | 73ms | 1310kb | OK | 2 | 20 |
| 22 | 112ms | 2621kb | OK | 2 |
| 23 | 102ms | 1835kb | OK | 2 |
| 24 | 76ms | 1441kb | OK | 2 |
| 25 | 54ms | 1310kb | OK | 2 |
| 26 | 114ms | 2097kb | OK | 2 |
| 27 | 100ms | 1835kb | OK | 2 |
| 28 | 74ms | 1441kb | OK | 2 |
| 29 | 89ms | 1572kb | OK | 2 |
| 30 | 121ms | 2097kb | OK | 2 |
| 31 | 116ms | 2097kb | OK | 2 | 20 |
| 32 | 88ms | 1966kb | OK | 2 |
| 33 | 87ms | 1572kb | OK | 2 |
| 34 | 110ms | 1966kb | OK | 2 |
| 35 | 116ms | 2097kb | OK | 2 |
| 36 | 55ms | 1310kb | OK | 2 |
| 37 | 112ms | 2097kb | OK | 2 |
| 38 | 90ms | 1703kb | OK | 2 |
| 39 | 77ms | 1441kb | OK | 2 |
| 40 | 86ms | 1572kb | OK | 2 |
| 41 | 78ms | 1835kb | OK | 2 | 0 |
| 42 | 72ms | 1441kb | OK | 2 |
| 43 | 103ms | 1835kb | OK | 2 |
| 44 | 91ms | 1835kb | OK | 2 |
| 45 | 84ms | 1572kb | Incorect | 0 |
| 46 | 59ms | 1441kb | OK | 2 |
| 47 | 93ms | 1835kb | OK | 2 |
| 48 | 91ms | 2097kb | OK | 2 |
| 49 | 146ms | 7077kb | OK | 2 |
| 50 | 141ms | 10092kb | OK | 2 |
| Punctaj total | 80 |