Pagini recente » Borderou de evaluare (job #405090) | Borderou de evaluare (job #1824313) | Borderou de evaluare (job #1395647) | Borderou de evaluare (job #2179457) | Borderou de evaluare (job #1605784)
Borderou de evaluare (job #1605784)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:18: warning: unused variable ‘j’ [-Wunused-variable]
int n,st,dr,i,j,t,q,ans,la;
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("soldati.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("soldati.out","w",stdout);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:15:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(si+1);
^
/tmp/cccDGhiL.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 4ms | 524kb | OK | 10 |
4 | 4ms | 520kb | OK | 10 |
5 | 4ms | 600kb | OK | 10 |
6 | 8ms | 660kb | OK | 10 |
7 | 8ms | 676kb | OK | 10 |
8 | 8ms | 680kb | OK | 10 |
9 | 12ms | 752kb | OK | 10 |
10 | 12ms | 760kb | OK | 10 |
Punctaj total | 100 |