Pagini recente » Borderou de evaluare (job #1547309) | Borderou de evaluare (job #1490088) | Borderou de evaluare (job #1841260) | Borderou de evaluare (job #1579875) | Borderou de evaluare (job #1251270)
Borderou de evaluare (job #1251270)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(nr(i,3)<=nr(j,5)) printf("%ld\n",nr(i++,3));
^
user.cpp:22:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
else printf("%ld\n",nr(j++,5));
^
user.cpp:24:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
while(i<=n) printf("%ld\n",nr(i++,3));
^
user.cpp:25:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
while(j<=n) printf("%ld\n",nr(j++,5));
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri35.in","r",stdin);
^
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri35.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); i=j=1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 256kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 264kb | OK | 10 |
| 5 | 0ms | 260kb | OK | 10 |
| 6 | 0ms | 260kb | OK | 10 |
| 7 | 8ms | 256kb | OK | 10 |
| 8 | 840ms | 260kb | Incorect | 0 |
| 9 | 1152ms | 264kb | Incorect | 0 |
| 10 | 1220ms | 264kb | Incorect | 0 |
| Punctaj total | 70 |