Pagini recente » Borderou de evaluare (job #734467) | Borderou de evaluare (job #652486) | Borderou de evaluare (job #2898537) | Borderou de evaluare (job #589768) | Borderou de evaluare (job #1794168)
Borderou de evaluare (job #1794168)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:32: warning: unused variable ‘a’ [-Wunused-variable]
int last,poz,r1=0,r2=0,c=0,a;
^
user.cpp:34:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potrivire.in","r",stdin);
^
user.cpp:35:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potrivire.out","w",stdout);
^
user.cpp:37:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
user.cpp:38:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s1+1);
^
user.cpp:39:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s2+1);
^
/tmp/cc46NAmt.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | OK | 10 | 10 |
2 | 0ms | 268kb | OK | 10 | 10 |
3 | 0ms | 272kb | Incorect | 0 | 0 |
4 | 0ms | 276kb | OK | 10 | 10 |
5 | 0ms | 284kb | OK | 10 | 60 |
6 | 0ms | 296kb | OK | 10 |
7 | 0ms | 292kb | OK | 10 |
8 | 0ms | 288kb | OK | 10 |
9 | 0ms | 272kb | OK | 10 |
10 | 0ms | 284kb | OK | 10 |
Punctaj total | 90 |