Pagini recente » Borderou de evaluare (job #2990655) | Borderou de evaluare (job #1530031) | Borderou de evaluare (job #1048622) | Borderou de evaluare (job #92860) | Borderou de evaluare (job #2160257)
Borderou de evaluare (job #2160257)
Raport evaluator
Compilare:
user.cpp:7:11: warning: overflow in implicit constant conversion [-Woverflow]
char minn=1e9,maxx;
^
user.cpp: In function ‘int calc_min_max()’:
user.cpp:27:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:33:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s+1);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:33:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s+1);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:33:13: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s+1);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:37:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[s[i]]++;
^
user.cpp:39:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f[maxx]-f[minn]<=1)
^
user.cpp:39:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f[maxx]-f[minn]<=1)
^
user.cpp:43:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[s[i]]--;
^
user.cpp:44:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[minn]++;
^
user.cpp:30:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smooth2.in","r",stdin);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 1176kb | OK! | 0 | 0 |
✓ | 2 | 0ms | 1244kb | Raspuns gresit! | 0 | 0 |
✓ | 3 | 0ms | 1216kb | OK! | 0 | 0 |
✓ | 4 | 0ms | 1164kb | OK! | 0 | 0 |
✗ | 5 | 0ms | 1176kb | Raspuns gresit! | 0 | 0 |
✗ | 6 | 0ms | 1140kb | Raspuns gresit! | 0 | 0 |
✗ | 7 | 0ms | 1168kb | Raspuns gresit! | 0 | 0 |
✗ | 8 | 0ms | 1240kb | OK! | 3 | 3 |
✗ | 9 | 0ms | 1212kb | Raspuns gresit! | 0 | 0 |
✗ | 10 | 0ms | 1172kb | Raspuns gresit! | 0 | 0 |
✗ | 11 | 0ms | 1216kb | Raspuns gresit! | 0 | 0 |
✗ | 12 | 0ms | 1184kb | Raspuns gresit! | 0 | 0 |
✗ | 13 | 12ms | 1272kb | Raspuns gresit! | 0 |
✗ | 14 | 0ms | 1176kb | Raspuns gresit! | 0 |
✗ | 15 | 12ms | 1280kb | Raspuns gresit! | 0 |
✗ | 16 | 8ms | 1260kb | Raspuns gresit! | 0 |
✗ | 17 | 12ms | 1260kb | Raspuns gresit! | 0 |
✗ | 18 | 8ms | 1308kb | Raspuns gresit! | 0 | 0 |
✗ | 19 | 8ms | 1284kb | Raspuns gresit! | 0 |
✗ | 20 | 12ms | 1264kb | Raspuns gresit! | 0 |
Punctaj total | 3 |