Pagini recente » Borderou de evaluare (job #2242683) | Borderou de evaluare (job #2615748) | Borderou de evaluare (job #594228) | Borderou de evaluare (job #1125219) | Borderou de evaluare (job #1955205)
Borderou de evaluare (job #1955205)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:5: warning: unused variable ‘poz’ [-Wunused-variable]
int poz=1,max=0;
^
user.cpp:16:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("char.in","r",stdin);
^
user.cpp:17:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("char.out","w",stdout);
^
user.cpp:19:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:20:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ch+1);
^
user.cpp:24:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nrdif);
^
user.cpp:27:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
/tmp/cc1iTNa1.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 272kb | OK | 10 |
6 | 0ms | 272kb | OK | 10 |
7 | 0ms | 288kb | OK | 10 |
8 | 0ms | 348kb | OK | 10 |
9 | 4ms | 352kb | OK | 10 |
10 | 4ms | 356kb | OK | 10 |
Punctaj total | 100 |