Pagini recente » Cod sursa (job #958204) | Cod sursa (job #1618134) | Borderou de evaluare (job #1604624) | Monitorul de evaluare | Borderou de evaluare (job #1394896)
Borderou de evaluare (job #1394896)
Raport evaluator
Compilare:
user.cpp: In function ‘int calc(int)’:
user.cpp:8:8: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int i,x,y,z,s;
^
user.cpp: In function ‘int main()’:
user.cpp:26:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%lld%d%d",&n,&m,&p);
^
user.cpp:26:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:22:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,q,x;
^
user.cpp:22:11: warning: unused variable ‘q’ [-Wunused-variable]
int i,q,x;
^
user.cpp:22:13: warning: unused variable ‘x’ [-Wunused-variable]
int i,q,x;
^
user.cpp:24:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("proc.in","r",stdin);
^
user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("proc.out","w",stdout);
^
user.cpp:26:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%d%d",&n,&m,&p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 420kb | OK | 5 |
| 2 | 0ms | 420kb | Incorect | 0 |
| 3 | 0ms | 436kb | Incorect | 0 |
| 4 | 0ms | 436kb | OK | 5 |
| 5 | 0ms | 436kb | OK | 5 |
| 6 | 0ms | 436kb | Incorect | 0 |
| 7 | 0ms | 432kb | OK | 5 |
| 8 | 0ms | 432kb | OK | 5 |
| 9 | 8ms | 436kb | Incorect | 0 |
| 10 | 8ms | 440kb | Incorect | 0 |
| 11 | 12ms | 432kb | Incorect | 0 |
| 12 | 12ms | 436kb | Incorect | 0 |
| 13 | 12ms | 440kb | OK | 5 |
| 14 | 12ms | 440kb | OK | 5 |
| 15 | 44ms | 436kb | OK | 5 |
| 16 | 28ms | 436kb | OK | 5 |
| 17 | 64ms | 432kb | Incorect | 0 |
| 18 | 64ms | 436kb | Incorect | 0 |
| 19 | 32ms | 436kb | Incorect | 0 |
| 20 | 64ms | 440kb | Incorect | 0 |
| Punctaj total | 45 |