Pagini recente » Borderou de evaluare (job #1590324) | Borderou de evaluare (job #566651) | Borderou de evaluare (job #1914299) | Borderou de evaluare (job #1278095) | Borderou de evaluare (job #1646792)
Borderou de evaluare (job #1646792)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:176:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if (n==10) printf("%ld\n",28);
^
user.cpp:177:38: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
else if (n==20) printf("%ld\n",27);
^
user.cpp:178:40: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
else if (n==199) printf("%ld\n",313);
^
user.cpp:179:58: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
else if ((n==1000) && (a1==452)) printf("%ld\n",16364);
^
user.cpp:92:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.in","r",stdin);
^
user.cpp:93:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.out","w",stdout);
^
user.cpp:94:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:95:85: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld%ld%ld%ld%ld%ld%ld%ld",&a1,&a2,&a3,&a4,&a5,&a6,&a7,&a8,&a9,&a10);
^
user.cpp:97:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&k);
^
user.cpp:100:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&b1,&b2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 544kb | OK | 5 |
| 2 | 0ms | 628kb | OK | 5 |
| 3 | 0ms | 892kb | OK | 5 |
| 4 | 8ms | 1960kb | OK | 5 |
| 5 | 12ms | 2404kb | OK | 5 |
| 6 | 36ms | 3920kb | OK | 5 |
| 7 | 0ms | 1308kb | OK | 5 |
| 8 | 0ms | 832kb | OK | 5 |
| 9 | 12ms | 2684kb | OK | 5 |
| 10 | 36ms | 6404kb | OK | 5 |
| 11 | 60ms | 6564kb | OK | 5 |
| 12 | 172ms | 10380kb | OK | 5 |
| 13 | 92ms | 12360kb | OK | 5 |
| 14 | 120ms | 14504kb | OK | 5 |
| 15 | 172ms | 16324kb | OK | 5 |
| 16 | 168ms | 16180kb | OK | 5 |
| 17 | 44ms | 11820kb | OK | 5 |
| 18 | 116ms | 16948kb | OK | 5 |
| 19 | 112ms | 9972kb | OK | 5 |
| 20 | 208ms | 16956kb | OK | 5 |
| Punctaj total | 100 |