Pagini recente » Borderou de evaluare (job #1070508) | Borderou de evaluare (job #1497112) | Borderou de evaluare (job #1098037) | Borderou de evaluare (job #1345475) | Borderou de evaluare (job #2450641)
Borderou de evaluare (job #2450641)
Raport evaluator
Compilare:
main.cpp: In function 'int read()':
main.cpp:42:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:50:9: warning: unused variable 'pos' [-Wunused-variable]
int pos = 1;
^~~
main.cpp: In function 'void Read(int&)':
main.cpp:25:42: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(f, MAX, 1, IN), pos = 0;
^
main.cpp:30:42: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(f, MAX, 1, IN), pos = 0;
^
main.cpp: In function 'int main()':
main.cpp:47:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.out", "w", stdout);
^
main.cpp:52:22: warning: iteration 10000 invokes undefined behavior [-Waggressive-loop-optimizations]
while(frecv[i] > 0){
~~~~~~~^
main.cpp:51:22: note: within this loop
for(int i = 1; i <= SMAX; i++){
~~^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 4ms | 262kb | OK | 10 |
5 | 12ms | 1179kb | OK | 10 |
6 | 74ms | 6946kb | OK | 10 |
7 | 74ms | 7749kb | OK | 10 |
8 | 85ms | 7880kb | OK | 10 |
9 | 86ms | 8667kb | OK | 10 |
10 | 3ms | 131kb | OK | 10 |
Punctaj total | 100 |