Pagini recente » Borderou de evaluare (job #926401) | Borderou de evaluare (job #928450) | Borderou de evaluare (job #823583) | Borderou de evaluare (job #1064182) | Borderou de evaluare (job #2524660)
Borderou de evaluare (job #2524660)
Raport evaluator
Compilare:
main.cpp:2:20: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
#define DIM (1<<20 + 5)
~~~^~~
main.cpp:13:16: note: in expansion of macro 'DIM'
unsigned int v[DIM];
^~~
main.cpp: In function 'int main()':
main.cpp:43:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=1; i<=n; i++){
~^~~
main.cpp:47:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=1; i<=n; i++){
~^~~
main.cpp:65:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf (fout, "%d", sol);
^
main.cpp: In function 'int numar()':
main.cpp:25:41: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, DIMBUFF, fin);
^
main.cpp:33:41: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, DIMBUFF, fin);
^
main.cpp: In function 'int main()':
main.cpp:41:33: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, DIMBUFF, fin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 8ms | 262kb | OK | 10 |
3 | 19ms | 262kb | OK | 10 |
4 | 78ms | 655kb | OK | 10 |
5 | 68ms | 786kb | Incorect | 0 |
6 | 265ms | 1703kb | OK | 10 |
7 | 650ms | 3276kb | Incorect | 0 |
8 | 787ms | 4325kb | Incorect | 0 |
9 | 1462ms | 9465kb | Incorect | 0 |
10 | 1782ms | 15151kb | Incorect | 0 |
Punctaj total | 50 |