Pagini recente » Borderou de evaluare (job #442323) | Borderou de evaluare (job #648410) | Borderou de evaluare (job #847241) | Borderou de evaluare (job #1635855) | Borderou de evaluare (job #1636068)
Borderou de evaluare (job #1636068)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%c",&n,&c,&c1);
^
user.cpp:11:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) {fscanf(f,"%c",&c1); v[i]=c1-'A'+1;}
^
user.cpp:32:5: warning: ‘d’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (i=s;i<=d;i++) fprintf(g,"%c",'A'+v[i]-1);
^
user.cpp:32:5: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 10 |
| 2 | 0ms | 428kb | OK | 10 |
| 3 | 12ms | 636kb | OK | 10 |
| 4 | 12ms | 628kb | OK | 10 |
| 5 | 12ms | 644kb | OK | 10 |
| 6 | 4ms | 508kb | OK | 10 |
| 7 | 8ms | 560kb | OK | 10 |
| 8 | 8ms | 520kb | OK | 10 |
| 9 | 12ms | 612kb | OK | 10 |
| 10 | 16ms | 640kb | OK | 10 |
| Punctaj total | 100 |