Pagini recente » Borderou de evaluare (job #1775200) | Borderou de evaluare (job #1726606) | Borderou de evaluare (job #2048214) | Borderou de evaluare (job #848100) | Borderou de evaluare (job #1981495)
Borderou de evaluare (job #1981495)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:95:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.in","r",stdin);
^
user.cpp:96:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.out","w",stdout);
^
user.cpp:97:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&a,&r,&k);
^
user.cpp:100:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:101:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccYKuNFZ.o: In function `main':
user.cpp:(.text.startup+0xae): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 484kb | OK | 10 |
2 | 0ms | 492kb | OK | 10 |
3 | 0ms | 556kb | OK | 10 |
4 | 4ms | 620kb | OK | 10 |
5 | 24ms | 1200kb | Partial incorect | 5 |
6 | 44ms | 1800kb | Partial incorect | 5 |
7 | 84ms | 2788kb | OK | 10 |
8 | 180ms | 6928kb | OK | 10 |
9 | 20ms | 788kb | OK | 10 |
10 | 168ms | 6976kb | OK | 10 |
Punctaj total | 90 |