Pagini recente » Borderou de evaluare (job #290900) | Borderou de evaluare (job #53423) | Borderou de evaluare (job #816352) | Borderou de evaluare (job #558168) | Borderou de evaluare (job #1276012)
Borderou de evaluare (job #1276012)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&l,&c);
^
user.cpp:40:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:53:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<strlen(s);i++)
^
user.cpp:39:9: warning: unused variable ‘j’ [-Wunused-variable]
int j,i;
^
user.cpp:40:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&l,&c);
^
user.cpp:42:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:123:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:126:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
/tmp/ccx2Ydl3.o: In function `main':
user.cpp:(.text.startup+0x43): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | Incorect | 0 |
| 2 | 0ms | 268kb | Incorect | 0 |
| 3 | 0ms | 276kb | Incorect | 0 |
| 4 | 0ms | 284kb | Incorect | 0 |
| 5 | 0ms | 420kb | Incorect | 0 |
| 6 | 4ms | 504kb | Incorect | 0 |
| 7 | 20ms | 584kb | Incorect | 0 |
| 8 | 8ms | 568kb | Incorect | 0 |
| 9 | 0ms | 328kb | Incorect | 0 |
| 10 | 28ms | 596kb | Incorect | 0 |
| Punctaj total | 0 |