Pagini recente » Cod sursa (job #970893) | Borderou de evaluare (job #2613566) | Borderou de evaluare (job #1392515) | Borderou de evaluare (job #2254721) | Borderou de evaluare (job #1671988)
Borderou de evaluare (job #1671988)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int calc(int, int)’:
user.cpp:55:13: warning: unused variable ‘st’ [-Wunused-variable]
int i,j,st,dr,nr=0,q2;
^
user.cpp:55:16: warning: unused variable ‘dr’ [-Wunused-variable]
int i,j,st,dr,nr=0,q2;
^
user.cpp: In function ‘int main()’:
user.cpp:133:13: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,j,m,op,x,y,z;
^
user.cpp:131:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diez.in","r",stdin);
^
user.cpp:132:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diez.out","w",stdout);
^
user.cpp:142:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
user.cpp:144:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(si+1);
^
user.cpp:151:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&op);
^
user.cpp:154:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c",&x,&ch);
^
user.cpp:159:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&z);
^
/tmp/ccO8A5FU.o: In function `main':
user.cpp:(.text.startup+0x10d): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 304kb | OK | 4 |
| 2 | 12ms | 312kb | OK | 4 |
| 3 | 2004ms | 412kb | OK | 4 |
| 4 | Depăşit | 392kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 408kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 408kb | Time limit exceeded. | 0 |
| 7 | 0ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | Depăşit | 1068kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 412kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 468kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 408kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 412kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 408kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 412kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 416kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 404kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1968kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 2196kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 2548kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 2072kb | Time limit exceeded. | 0 |
| 21 | Depăşit | 1976kb | Time limit exceeded. | 0 |
| 22 | Depăşit | 1976kb | Time limit exceeded. | 0 |
| 23 | Depăşit | 552kb | Time limit exceeded. | 0 |
| 24 | Depăşit | 992kb | Time limit exceeded. | 0 |
| 25 | Depăşit | 1968kb | Time limit exceeded. | 0 |
| Punctaj total | 12 |