Pagini recente » Borderou de evaluare (job #1300135) | Borderou de evaluare (job #84938) | Borderou de evaluare (job #2623183) | Borderou de evaluare (job #1565824) | Borderou de evaluare (job #2163426)
Borderou de evaluare (job #2163426)
Raport evaluator
Compilare:
user.cpp: In function ‘bool get(char*, int, int&, int)’:
user.cpp:23:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return (conf & (1 << id[ch])) > 0;
^
user.cpp:29:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:63:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&n);
^
user.cpp:66:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%s " ,a + 1);
^
user.cpp:67:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%s " ,b + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2812kb | OK | 10 |
2 | 4ms | 2812kb | OK | 10 |
3 | 4ms | 2804kb | OK | 10 |
4 | 4ms | 2908kb | OK | 10 |
5 | 8ms | 2808kb | OK | 10 |
6 | 4ms | 2888kb | OK | 10 |
7 | 4ms | 2940kb | OK | 10 |
8 | 4ms | 2600kb | OK | 10 |
9 | 4ms | 2808kb | OK | 10 |
10 | 4ms | 2940kb | OK | 10 |
Punctaj total | 100 |