Pagini recente » Borderou de evaluare (job #2747546) | Borderou de evaluare (job #767908) | Borderou de evaluare (job #1534890) | Borderou de evaluare (job #2148140) | Borderou de evaluare (job #2018583)
Borderou de evaluare (job #2018583)
Raport evaluator
Compilare:
user.cpp:10:1: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
user.cpp: In function ‘int main()’:
user.cpp:122:39: warning: narrowing conversion of ‘((double)y / (double)x)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
events1.push_back({(1.0*y)/x,i,0});
^
user.cpp:124:39: warning: narrowing conversion of ‘((double)z / (double)x)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
events1.push_back({(1.0*z)/x,i,1});
^
user.cpp:132:40: warning: narrowing conversion of ‘((-(double)y) / (double)x)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
events2.push_back({(-1.0*y)/x,i,0});
^
user.cpp:134:40: warning: narrowing conversion of ‘((-(double)z) / (double)x)’ from ‘double’ to ‘float’ inside { } [-Wnarrowing]
events2.push_back({(-1.0*z)/x,i,1});
^
user.cpp:102:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rays.in","r",stdin);
^
user.cpp:103:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rays.out","w",stdout);
^
user.cpp:106:28: 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,dim,stdin);
^
user.cpp: In function ‘void read(int&)’:
user.cpp:44:36: 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,dim,stdin);
^
user.cpp:55:36: 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,dim,stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 600kb | OK | 10 |
2 | 0ms | 612kb | OK | 10 |
3 | 0ms | 692kb | OK | 10 |
4 | 8ms | 1108kb | OK | 10 |
5 | 48ms | 3328kb | OK | 10 |
6 | 100ms | 5320kb | OK | 10 |
7 | 164ms | 7040kb | OK | 10 |
8 | 220ms | 8932kb | OK | 10 |
9 | 216ms | 8936kb | OK | 10 |
10 | 220ms | 8740kb | OK | 10 |
Punctaj total | 100 |