Pagini recente » Borderou de evaluare (job #1069962) | Borderou de evaluare (job #740042) | Borderou de evaluare (job #2660310) | Borderou de evaluare (job #262555) | Borderou de evaluare (job #2450638)
Borderou de evaluare (job #2450638)
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 10009 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 | Killed by Signal 11 | 0 |
5 | 10ms | 655kb | Killed by Signal 11 | 0 |
6 | 53ms | 3670kb | Killed by Signal 11 | 0 |
7 | 49ms | 4063kb | Killed by Signal 11 | 0 |
8 | 64ms | 4063kb | Incorect | 0 |
9 | 66ms | 4456kb | Killed by Signal 11 | 0 |
10 | 3ms | 131kb | OK | 10 |
Punctaj total | 40 |